services-garbaye/podman-framadate/docker/apache-framadate.conf

29 lines
569 B
Plaintext

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