acoeur/bin/acoeur.conf
2022-10-26 23:12:29 +02:00

27 lines
895 B
Plaintext

<VirtualHost *:80>
ServerName acoeur.localhost
ServerAlias acoeur acoeur.acoeuro.com
DocumentRoot /var/simpleWeb/apps/acoeur/public
</VirtualHost>
<VirtualHost *:80>
ServerName edit.acoeur.localhost
ServerAlias edit.acoeur edit.acoeur.acoeuro.com
ServerSignature Off
Header add Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Methods "HEAD, GET, POST, PUT, OPTIONS, DELETE"
Header add Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, API-Key, Authorization, X-Test"
DocumentRoot /var/simpleWeb/apps/acoeur/content
<Directory /var/simpleWeb/apps/acoeur/content>
# This is special, anybody can see and edit it!
Require all granted
</Directory>
CustomLog /var/simpleWeb/log/apache/acoeur.log combined
# So that simple web editor can display eventual errors
Alias /app.log /var/simpleWeb/apps/acoeur/public/app.log
</VirtualHost>