DocumentRoot /var/www/framadate
# URL rewrite
AllowOverride All
# Admin folder
AuthType Basic
AuthName "Administration"
AuthUserFile "/var/www/framadate/admin/.htpasswd"
Require valid-user
# Protection fichiers htpasswd et htaccess
Deny from all
Satisfy all
ErrorDocument 403 "Accès refusé."
# Logs
ErrorLog /dev/stdout
CustomLog /dev/stdout combined