Skip to content

Commit

Permalink
Update apache.conf.in
Browse files Browse the repository at this point in the history
Keep apache.conf backwards compatible with Apache 2.2
  • Loading branch information
Andrew Bauer committed Aug 22, 2015
1 parent 2ed442c commit 800d7dd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion misc/apache.conf.in
Expand Up @@ -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
Expand Down

0 comments on commit 800d7dd

Please sign in to comment.