Update apache.conf.in
Keep apache.conf backwards compatible with Apache 2.2
This commit is contained in:
parent
2ed442c09b
commit
800d7dd33a
|
@ -18,7 +18,15 @@
|
||||||
<Directory "@CGI_PREFIX@">
|
<Directory "@CGI_PREFIX@">
|
||||||
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
|
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
|
||||||
AllowOverride All
|
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>
|
</Directory>
|
||||||
|
|
||||||
# Use the first option to have Apache logs written to the general log
|
# Use the first option to have Apache logs written to the general log
|
||||||
|
|
Loading…
Reference in New Issue