ServerSignature Off
ServerName acoeur
Protocols h2 h2c http/1.1
DocumentRoot /var/simpleWeb/apps/acoeur/public
Require all granted
# Send back all headers, most importantly the eventual "authorization" one
Header always echo
# Do not send a 404
Redirect 204 /
# For development
Header always set authorization "test"
ServerName edit.acoeur
Protocols h2 h2c http/1.1
DocumentRoot /var/simpleWeb/apps/acoeur/content
# This is special, anybody can see and edit it!
Require all granted
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
Header set Access-Control-Allow-Origin acoeur
Header set Access-Control-Allow-Methods "HEAD, GET, POST, PUT, OPTIONS, DELETE"
Header set Access-Control-Allow-Headers *