1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-17 07:10:48 +03:00

fix access

This commit is contained in:
Mzhelskiy Maxim 2013-01-21 10:23:50 +04:00
parent 9b801c6bc9
commit 03b5c13558
2 changed files with 11 additions and 6 deletions

View file

@ -8,12 +8,17 @@ RewriteRule ^(.*)$ ./index.php
# Alternative rule
#RewriteRule ^(.*)$ /index.php
# Deny access
<Files "plugins.dat">
order allow,deny
deny from all
order allow,deny
deny from all
</Files>
<Files "plugin.xml">
order allow,deny
deny from all
order allow,deny
deny from all
</Files>
<Files ~ "\.tpl$">
Order allow,deny
Deny from all
</Files>

View file

@ -1,5 +1,5 @@
Options -Indexes
<Files ~ "\.tpl$">
<Files ~ "(\.tpl)|(\.php)$">
Order allow,deny
Deny from all
</Files>