Apache

Från wiki.soltec.se
Hoppa till: navigering, sök

Apache v2.4

Loading Modules

  Edit the </etc/apache2/httpd.conf file>
  Edit the </etc/sysconfig/apache2 > file as well

Check Configuration

  # apachectl -S   <--Display settings and vhosts settings
  # apachectl -l    <--Display all compiled modules
  # apachectl -M  <--Display all loaded modules
  # apachectl -t    <--Check configuration files

Start/Stop

  # apachectl -k start
  # apachectl -k start

Server-Status

  Load the module status_module in the httpd.conf file
  Browser URL <webserver>:server-status