Update apache.conf.in

Keep apache.conf backwards compatible with Apache 2.2
This commit is contained in:
Andrew Bauer 2015-08-22 08:56:47 -05:00
parent 2ed442c09b
commit 800d7dd33a
1 changed files with 9 additions and 1 deletions

View File

@ -18,7 +18,15 @@
<Directory "@CGI_PREFIX@">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AllowOverride All
Require All Granted
<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>
</Directory>
# Use the first option to have Apache logs written to the general log