Proper apache conf file

This commit is contained in:
echarp 2022-11-27 17:44:42 +01:00
parent a181c1837e
commit 274366da0d
4 changed files with 29 additions and 11 deletions

View File

@ -1,12 +1,10 @@
ServerSignature Off
<VirtualHost *:80>
ServerName acoeur
Protocols h2 h2c http/1.1
DocumentRoot /var/simpleWeb/apps/acoeur/public
Alias /edit /var/simpleWeb/apps/acoeur/content
<Directory /var/simpleWeb/apps/acoeur>
<Directory /var/simpleWeb/apps/acoeur/*>
AuthUserFile /home/manu/Adata/.htaccessPasswords
AuthName "Quiz d'A Livr'Ouvert"
AuthType Basic
@ -27,6 +25,26 @@ ServerSignature Off
<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>

View File

@ -1,5 +1,5 @@
---
title: Chapitre 1 - Le survivante
title: Chapitre 1 - Le survivant
featured_image: /../../../../../assets/Swallow_flying_drinking.jpg
ac_choices:
- "[Des centaines de hiboux se sont mis à voler, de jour, partout dans le pays](/pages/1er-quiz/erreur)"

View File

@ -1,5 +1,5 @@
---
title: Encore une!
title: Encore un
description: Court texte
date: 2022-11-07T12:56:40+01:00
ac_create:

View File

@ -1,5 +1,5 @@
---
title: Test
title: Testeur
description: Helo world!...
date: 2022-10-31T22:46:14+01:00
ac_create: