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:
parent
6e181a2454
commit
df55435a51
|
@ -25,6 +25,9 @@
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<FilesMatch "\.(ini)">
|
<FilesMatch "\.(ini)">
|
||||||
|
# For mod_access_compat in Apache <2.4
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
</FilesMatch>
|
|
||||||
|
|
||||||
|
# Use this instead for Apache >2.4 (mod_authz_host)
|
||||||
|
# Require all denied
|
||||||
|
</FilesMatch>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user