Apache2
De Hack-it.org.
(→Apache 2) |
T2 (discuter | contributions) |
||
Ligne 1 : | Ligne 1 : | ||
+ | * http://ftp.traduc.org/doc-vf/gazette-linux/html/2006/123/lg123-D.html | ||
+ | * redirections : http://alexandre.alapetite.fr/doc-alex/redirections/index.fr.html | ||
+ | |||
== Apache 2== | == Apache 2== | ||
* Introduction | * Introduction | ||
Ligne 19 : | Ligne 22 : | ||
* Documentation | * Documentation | ||
[http://www.ac-creteil.fr/reseaux/systemes/linux/lamp/apache2-configuration.html ac-creteil] | [http://www.ac-creteil.fr/reseaux/systemes/linux/lamp/apache2-configuration.html ac-creteil] | ||
+ | |||
[http://www.cgsecurity.org/Articles/apache.html cgsecurity] | [http://www.cgsecurity.org/Articles/apache.html cgsecurity] | ||
+ | |||
+ | ==Cacher la version== | ||
+ | * Voir ce qui est affiché actuellement : | ||
+ | curl -I localhost | ||
+ | * Trouver ou c'est configurable : | ||
+ | grep -ri token /etc/apache2/ | ||
+ | * Editer le fichier qui contient ServerTokens, commenter la ligne actuelle et foutre (ou décommenter) : | ||
+ | ServerTokens Prod | ||
+ | * Relancer Apache | ||
+ | /etc/init.d/apache2 restart | ||
+ | * [http://httpd.apache.org/docs/2.2/mod/core.html#servertokens En savoir plus] | ||
+ | |||
+ | ==Logs== | ||
+ | * [http://httpd.apache.org/docs/2.2/logs.html#conditional Virer les "Apache (internal dummy connection)"] | ||
+ | |||
+ | ==Autre== | ||
+ | * Une alternative a apache, moins gourmante : [[Nginx]] |