Apache : désactiver l’authentification pour un sous-répertoire spécifique

Boris HUISGEN July 30, 2013

administration hébergement apache

<Directory /var/www/>
  AuthUserFile /etc/apache2/user-passwd
  AuthType Basic
  AuthName "Restricted access"
  Require valid-user
  Order allow,deny
  Allow from 192.168.0
  Satisfy any
</Directory>

<Directory /var/www/public>
  Order allow,deny
  Allow from all
  Satisfy any
</Directory>

See also

Apache : loguer les IP client traversant un proxy frontal
Read more
./GoAccess : analyseur de log Apache/Nginx temps réel
Read more
Apache : protection X-Frame-Options
Read more