54 lines
1.6 KiB
Plaintext
54 lines
1.6 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
|
|
|
|
Header always set Access-Control-Allow-Origin "cdnjs.cloudflare.com"
|
|
</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>
|