aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-26 03:50:46 -0700
committerfriendica <info@friendica.com>2013-07-26 03:50:46 -0700
commit53118a43522d70258a4913709d9cd056f4cb5438 (patch)
treeb3b630555b014be0ee8759cb1935ea04e8a06d8e /.htaccess
parent7f87da68baa38705b4d5080d3789be8af44b0795 (diff)
downloadvolse-hubzilla-53118a43522d70258a4913709d9cd056f4cb5438.tar.gz
volse-hubzilla-53118a43522d70258a4913709d9cd056f4cb5438.tar.bz2
volse-hubzilla-53118a43522d70258a4913709d9cd056f4cb5438.zip
add gz to access denied files to block rotated logs from public access
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess3
1 files changed, 2 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 6cb3a0749..090ae6637 100644
--- a/.htaccess
+++ b/.htaccess
@@ -2,7 +2,8 @@ Options -Indexes
AddType application/x-java-archive .jar
AddType audio/ogg .oga
-<FilesMatch "\.(out|log)$">
+# don't allow any web access to logfiles, even after rotation/compression
+<FilesMatch "\.(out|log|gz)$">
Deny from all
</FilesMatch>