From 3ec4738b4e7f9f17a7c924d210310d50970a4f36 Mon Sep 17 00:00:00 2001 From: gcolpart Date: Tue, 4 Oct 2016 15:07:06 +0200 Subject: [PATCH] Configuration de base --- HowtoApache.md | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/HowtoApache.md b/HowtoApache.md index c681433b..bb5ad064 100644 --- a/HowtoApache.md +++ b/HowtoApache.md @@ -1,13 +1,39 @@ # Howto Apache -https://httpd.apache.org/docs/2.4/ + ## Installation Nous utilisons [Apache-ITK](http://mpm-itk.sesse.net/) depuis des années en production sur de nombreux serveurs critiques. -Apache-ITK permet de préciser pour chaque VirtualHost un utilisateur/groupe/MaxClients ce qui est utile pour la sécurité. +Apache-ITK permet de préciser pour chaque VirtualHost un utilisateur/groupe/MaxClients spécifique, ce qui est utile pour la sécurité. ~~~ -# aptitude install apache2-mpm-itk +# aptitude install apache2-mpm-itk libapache2-mod-evasive apachetop libwww-perl ~~~ +## Configuration de base + + +Activation des modules essentiels : + +~~~ +# a2enmod rewrite expires headers rewrite cgi +~~~ + +/etc/apache2/conf-available/zzz_evolix.conf : + +~~~{.apache} +Timeout 10 +MaxClients 250 +ServerTokens Prod +KeepAliveTimeout 2 +MaxKeepAliveRequests 10 +~~~ + +~~~ +# a2enconf zzz_evolix.conf +~~~ + +## SSL + +## Awstats \ No newline at end of file