aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess5
1 files changed, 2 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
index e9c4de14d..7f3935117 100644
--- a/.htaccess
+++ b/.htaccess
@@ -5,10 +5,10 @@ AddType audio/ogg .oga
# don't allow any web access to logfiles, even after rotation/compression
<FilesMatch "\.(out|log|gz)$">
- <IfModule !mod_access_compat.c>
+ <IfModule mod_authz_core.c>
Require all denied
</IfModule>
- <IfModule mod_access_compat.c>
+ <IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
@@ -20,7 +20,6 @@ AddType audio/ogg .oga
RewriteRule "(^|/)\.git" - [F]
RewriteRule "(^|/)store" - [F]
-
# Rewrite current-style URLs of the form 'index.php?q=x'.
# Also place auth information into REMOTE_USER for sites running
# in CGI mode.