recreate fix for #2617 on correct branch
This commit is contained in:
parent
76abade4d8
commit
22de27327c
3 changed files with 26 additions and 5 deletions
|
@ -4,7 +4,14 @@ AddType audio/ogg .oga
|
||||||
#AddHandler php53-cgi .php
|
#AddHandler php53-cgi .php
|
||||||
|
|
||||||
<FilesMatch "\.(out|log)$">
|
<FilesMatch "\.(out|log)$">
|
||||||
Deny from all
|
<IfModule authz_host_module>
|
||||||
|
#Apache 2.4
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
<IfModule !authz_host_module>
|
||||||
|
#Apache 2.2
|
||||||
|
Deny from all
|
||||||
|
</IfModule>
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
|
|
||||||
# Remove the following line or modify it to run the string translator utility
|
# Remove the following lines or modify it to run the string translator utility
|
||||||
Deny from all
|
<IfModule authz_host_module>
|
||||||
|
#Apache 2.4
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
<IfModule !authz_host_module>
|
||||||
|
#Apache 2.2
|
||||||
|
Deny from all
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
<FilesMatch "\.tpl">
|
<FilesMatch "\.tpl">
|
||||||
Deny from all
|
<IfModule authz_host_module>
|
||||||
|
#Apache 2.4
|
||||||
|
Require all denied
|
||||||
|
</IfModule>
|
||||||
|
<IfModule !authz_host_module>
|
||||||
|
#Apache 2.2
|
||||||
|
Deny from all
|
||||||
|
</IfModule>
|
||||||
</FilesMatch>
|
</FilesMatch>
|
Loading…
Reference in a new issue