Apache2
De Hack-it.org.
| Ligne 1 : | Ligne 1 : | ||
| - | + | == Apache 2== | |
| - | + | * Introduction | |
| - | + | ** Version d'Apache 2.2 | |
| + | * Arborescence | ||
| + | ** Configurations /etc/apache2/ | ||
| + | ** /etc/apache2/site-available/ contient les fichiers de configuration des VirtualHosts | ||
| + | ** /etc/apache2/site-enabled/ contient les virtualhosts actif. Il s'agit d'un ln -s de ../site-available/mydns.com.conf mydns.com.conf | ||
* Relancer apache après avoir touché les conf : | * Relancer apache après avoir touché les conf : | ||
| - | / | + | apache2ctl restart |
| + | |||
| + | * Activer un module : | ||
| + | a2enmod <anyterm> | ||
| + | |||
| + | * Désactiver un module : | ||
| + | a2dismod <anyterm> | ||
| + | |||
| + | * Documentation | ||
| + | [http://www.ac-creteil.fr/reseaux/systemes/linux/lamp/apache2-configuration.html ac-creteil] | ||
| + | [http://www.cgsecurity.org/Articles/apache.html cgsecurity] | ||
