Skip to content

Sécuriser son Apache

Sécuriser son Apache published on Aucun commentaire sur Sécuriser son Apache

Comment sécuriser son Apache ?

  • Editer et remplacer dans : nano /etc/apache2/conf-available/security.conf


ServerTokens Prod

ServerSignature Off

  • Dans le fichier /etc/php5/apache2/php.ini, modifiez les options suivantes comme suit:
    • Mettre sur Off : expose_php off
  • Installer mod-security et libapache2-mod-evasive :
    • apt-get install libapache2-mod-security2
    • apt-get install libapache2-mod-evasive
  • Installer la protection Anti DDOS
    • Modifier : nano /etc/apache2/apache2.conf
      • MaxClients 150
        KeepAlive On
        MaxKeepAliveRequests 100
        KeepAliveTimeout 10

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Primary Sidebar