diff options
author | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2015-06-21 23:58:19 +0200 |
---|---|---|
committer | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2015-06-21 23:58:19 +0200 |
commit | 5a96f3331a86b32f6ed1c44fb44f43a287611a38 (patch) | |
tree | fc7d6243c56f10b257515772442f10ba8600ad36 /.htaccess | |
parent | c1e0987b880c116b392d65a2b40cda2fd53debe0 (diff) | |
download | volse-hubzilla-5a96f3331a86b32f6ed1c44fb44f43a287611a38.tar.gz volse-hubzilla-5a96f3331a86b32f6ed1c44fb44f43a287611a38.tar.bz2 volse-hubzilla-5a96f3331a86b32f6ed1c44fb44f43a287611a38.zip |
Compatible update for .htaccess.
This should hopefully work in Apache 2.2 and 2.4.
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -5,7 +5,13 @@ AddType audio/ogg .oga # don't allow any web access to logfiles, even after rotation/compression <FilesMatch "\.(out|log|gz)$"> -Deny from all + <IfModule !mod_access_compat.c> + Require all denied + </IfModule> + <IfModule mod_access_compat.c> + Order deny,allow + Deny from all + </IfModule> </FilesMatch> <IfModule mod_rewrite.c> @@ -22,6 +28,4 @@ Deny from all RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA] - </IfModule> - |