More adjustements to the apache configuration file

This commit is contained in:
Pierre-Yves Chibon 2015-07-20 11:41:35 +02:00
parent 4cc45d279c
commit 6e1d0afca2

View file

@ -24,20 +24,25 @@
#TODO: move this to 443 when we have the ssl certs
<VirtualHost docs.pagure.org:80>
<VirtualHost *:80>
{% if env == 'pagure-staging' %}
ServerName docs.stg.pagure.org
{% else %}
ServerName docs.pagure.org
{% endif %}
<Location /d>
WSGIProcessGroup pagure
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order deny,allow
Allow from all
</IfModule>
</Location>
<Location /d>
WSGIProcessGroup pagure
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order deny,allow
Allow from all
</IfModule>
</Location>
</VirtualHost>