acoeur/bin/acoeur.conf
2022-11-27 18:20:58 +01:00

52 lines
1.5 KiB
Plaintext

<VirtualHost *:80>
ServerName acoeur
DocumentRoot /var/simpleWeb/apps/acoeur/public
Alias /edit /var/simpleWeb/apps/acoeur/content
ErrorDocument 404 /404.html
<Directory /var/simpleWeb/apps/acoeur/*>
AuthUserFile /home/manu/Adata/.htaccessPasswords
AuthName "Quiz d'A Livr'Ouvert"
AuthType Basic
Require user mag manu amelie tiffany
</Directory>
<Directory /var/simpleWeb/apps/acoeur/*/users/*/>
Require all granted
</Directory>
<Directory /var/simpleWeb/apps/acoeur/public/ananke>
Require all granted
</Directory>
<Directory /var/simpleWeb/apps/acoeur/public/assets>
Require all granted
</Directory>
<Directory /var/simpleWeb/apps/acoeur/public/js>
Require all granted
</Directory>
<Directory /var/simpleWeb/apps/acoeur/public/*.ico>
Require all granted
</Directory>
<Directory /var/simpleWeb/apps/acoeur/public/404.html>
Require all granted
</Directory>
CustomLog /var/simpleWeb/log/apache/acoeur.log combined
</VirtualHost>
<VirtualHost *:80>
ServerName edit.acoeur
DocumentRoot /var/simpleWeb/apps/acoeur/content
<Directory /var/simpleWeb/apps/acoeur/content>
AuthUserFile /home/manu/Adata/.htaccessPasswords
AuthName "Quiz d'A Livr'Ouvert"
AuthType Basic
Require user mag manu amelie tiffany
</Directory>
# So that simple web editor can display eventual errors
Alias /app.log /var/simpleWeb/apps/quiz.alivrouvert.fr/public/app.log
CustomLog /var/simpleWeb/log/apache/acoeur.log combined
</VirtualHost>