1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-04 18:08:19 +03:00
ifhub.club/.htaccess
Mzhelskiy Maxim aaa7c0e97c fix htaccess
2015-04-05 16:05:16 +07:00

31 lines
613 B
ApacheConf

<IfModule headers_module>
Header set X-UA-Compatible "IE=Edge,chrome=1"
</IfModule>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
AddDefaultCharset UTF-8
Options -Indexes
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php
# Alternative rule
#RewriteRule ^(.*)$ /index.php
# Deny access
<Files "plugins.dat">
order allow,deny
deny from all
</Files>
<Files "plugin.xml">
order allow,deny
deny from all
</Files>
<Files ~ "\.tpl$">
Order allow,deny
Deny from all
</Files>