aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess10
1 files changed, 3 insertions, 7 deletions
diff --git a/.htaccess b/.htaccess
index e9c4de14d..39fd89e04 100644
--- a/.htaccess
+++ b/.htaccess
@@ -5,13 +5,7 @@ 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>
- Require all denied
- </IfModule>
- <IfModule mod_access_compat.c>
- Order deny,allow
- Deny from all
- </IfModule>
+Deny from all
</FilesMatch>
<IfModule mod_rewrite.c>
@@ -28,4 +22,6 @@ AddType audio/ogg .oga
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
+
</IfModule>
+