This commit is contained in:
redmatrix 2015-06-21 17:31:09 -07:00
commit f59edbb48f
3 changed files with 6 additions and 7 deletions

View File

@ -5,10 +5,10 @@ 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>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule mod_access_compat.c>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
@ -20,7 +20,6 @@ AddType audio/ogg .oga
RewriteRule "(^|/)\.git" - [F]
RewriteRule "(^|/)store" - [F]
# Rewrite current-style URLs of the form 'index.php?q=x'.
# Also place auth information into REMOTE_USER for sites running
# in CGI mode.

View File

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

View File

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