-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
32 lines (24 loc) · 1.03 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# DO NOT REMOVE THIS LINE AND THE LINES BELOW IPDENYID:ZuHaSaPeWa
deny from 94.79.33.20
# DO NOT REMOVE THIS LINE AND THE LINES ABOVE ZuHaSaPeWa:IPDENYID
# DO NOT REMOVE THIS LINE AND THE LINES BELOW HOTLINKID:eXeWesuBug
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://mirea.16mb.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mirea.16mb.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mirea.16mb.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mirea.16mb.com$ [NC]
RewriteRule .*\.(1)$ http://http://mirea.16mb.com [R,NC]
# DO NOT REMOVE THIS LINE AND THE LINES ABOVE eXeWesuBug:HOTLINKID
Options -Indexes
Options -MultiViews
ErrorDocument 403 /403.php
RewriteBase /
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html .phtml
DirectoryIndex index.php index.html
#http://al.ndd.ru/12/apache-conf_access.html http://terminator.at.ua/faq/1-1
#çàìåíèòü â ññûëêàõ .php íà /
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^\.]+)$ $1.php [NC,L]