29 lines
842 B
Plaintext
29 lines
842 B
Plaintext
ServerSignature Off
|
|
|
|
<VirtualHost *:80>
|
|
ServerName acoeur
|
|
Protocols h2 h2c http/1.1
|
|
|
|
DocumentRoot /var/simpleWeb/apps/acoeur/public
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:80>
|
|
ServerName edit.acoeur
|
|
Protocols h2 h2c http/1.1
|
|
|
|
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>
|