mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
24 lines
458 B
ApacheConf
24 lines
458 B
ApacheConf
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> |