Revert "Compatible update for .htaccess."

This commit is contained in:
Klaus 2015-06-22 00:33:53 +02:00
parent 9f9dee28ca
commit 26ff848639
3 changed files with 8 additions and 23 deletions

View File

@ -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>

View File

@ -1,10 +1,5 @@
Options -Indexes
# Remove the following lines or modify it to run the string translator utility
<IfModule !mod_access_compat.c>
Require all denied
</IfModule>
<IfModule mod_access_compat.c>
Order deny,allow
Deny from all
</IfModule>
# Remove the following line or modify it to run the string translator utility
Deny from all

View File

@ -1,9 +1,3 @@
<FilesMatch "\.tpl">
<IfModule !mod_access_compat.c>
Require all denied
</IfModule>
<IfModule mod_access_compat.c>
Order deny,allow
Deny from all
</IfModule>
</FilesMatch>
Deny from all
</FilesMatch>