Merge pull request #354 from redmatrix/revert-353-master
Revert "Compatible update for .htaccess."
This commit is contained in:
commit
b197c7420a
10
.htaccess
10
.htaccess
@ -5,13 +5,7 @@ AddType audio/ogg .oga
|
|||||||
|
|
||||||
# don't allow any web access to logfiles, even after rotation/compression
|
# don't allow any web access to logfiles, even after rotation/compression
|
||||||
<FilesMatch "\.(out|log|gz)$">
|
<FilesMatch "\.(out|log|gz)$">
|
||||||
<IfModule !mod_access_compat.c>
|
Deny from all
|
||||||
Require all denied
|
|
||||||
</IfModule>
|
|
||||||
<IfModule mod_access_compat.c>
|
|
||||||
Order deny,allow
|
|
||||||
Deny from all
|
|
||||||
</IfModule>
|
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
@ -28,4 +22,6 @@ AddType audio/ogg .oga
|
|||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
|
RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
|
||||||
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
Options -Indexes
|
Options -Indexes
|
||||||
|
|
||||||
# Remove the following lines or modify it to run the string translator utility
|
# Remove the following line or modify it to run the string translator utility
|
||||||
<IfModule !mod_access_compat.c>
|
Deny from all
|
||||||
Require all denied
|
|
||||||
</IfModule>
|
|
||||||
<IfModule mod_access_compat.c>
|
|
||||||
Order deny,allow
|
|
||||||
Deny from all
|
|
||||||
</IfModule>
|
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
<FilesMatch "\.tpl">
|
<FilesMatch "\.tpl">
|
||||||
<IfModule !mod_access_compat.c>
|
Deny from all
|
||||||
Require all denied
|
</FilesMatch>
|
||||||
</IfModule>
|
|
||||||
<IfModule mod_access_compat.c>
|
|
||||||
Order deny,allow
|
|
||||||
Deny from all
|
|
||||||
</IfModule>
|
|
||||||
</FilesMatch>
|
|
Reference in New Issue
Block a user