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 #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> <Location /d>
WSGIProcessGroup pagure WSGIProcessGroup pagure
<IfModule mod_authz_core.c> <IfModule mod_authz_core.c>
# Apache 2.4 # Apache 2.4
Require all granted Require all granted
</IfModule> </IfModule>
<IfModule !mod_authz_core.c> <IfModule !mod_authz_core.c>
# Apache 2.2 # Apache 2.2
Order deny,allow Order deny,allow
Allow from all Allow from all
</IfModule> </IfModule>
</Location> </Location>
</VirtualHost> </VirtualHost>