Apache

De Linuxmemo.


Sommaire

Modules

Lister les modules

apache2ctl -t -D DUMP_MODULES
ou
apache2ctl -M  
(a synonym for -t -D DUMP_MODULES)

  • (static) signifiant que le module est compilé dans Apache.
  • (shared) signifiant que le module est chargé.

Information sur les modules

http://httpd.apache.org/docs/2.0/mod/

http://httpd.apache.org/docs/2.2/mod/

Configuration

Connaître sa version

#apache2 -v
Server version: Apache/2.2.20 (Ubuntu)
Server built:   Feb 14 2012 16:35:35


Tester la syntaxe du fichier de configuration

apache2ctl configtest
apache2ctl 
Usage: /usr/sbin/apache2ctl start|stop|restart|graceful|graceful-stop|configtest|status|fullstatus
       /usr/sbin/apache2ctl <apache2 args>
Outils personnels