Compatible update for .htaccess.
This should hopefully work in Apache 2.2 and 2.4.
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
Options -Indexes
|
||||
|
||||
# Remove the following line or modify it to run the string translator utility
|
||||
Deny from all
|
||||
|
||||
# Remove the following lines or modify it to run the string translator utility
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</IfModule>
|
||||
|
||||
Reference in New Issue
Block a user