Apache 2.4 mod_authz_host access example

Apache 2.2 -> 2.4 upgrades tend to fail on the "Order allow,deny" bit.
This commit is contained in:
Mikael Nordfeldth 2014-08-06 10:31:31 +02:00
parent 6e181a2454
commit df55435a51
1 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,9 @@
</IfModule>
<FilesMatch "\.(ini)">
# For mod_access_compat in Apache <2.4
Order allow,deny
</FilesMatch>
# Use this instead for Apache >2.4 (mod_authz_host)
# Require all denied
</FilesMatch>