forked from sergejey/majordomo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.htaccess
executable file
·36 lines (29 loc) · 833 Bytes
/
.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
32
33
34
35
36
AddDefaultCharset UTF-8
DirectoryIndex index.html index.htm index.php default.html
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
ReWriteCond %{REQUEST_URI} pda$
RewriteRule .* /popup/pda.html [R,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
ReWriteCond %{REQUEST_URI} \.html$
ReWriteCond %{REQUEST_URI} !index\.html$
ReWriteCond %{REQUEST_URI} !fckeditor
ReWriteCond %{REQUEST_URI} !banner\.html$
ReWriteCond %{REQUEST_URI} !flashcoms
ReWriteCond %{REQUEST_URI} !google
RewriteRule .* /nf.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
ReWriteCond %{REQUEST_URI} \.xml$
ReWriteCond %{REQUEST_URI} !fck
ReWriteCond %{REQUEST_URI} !flashcoms
RewriteRule .* /nf.php
</IfModule>
<FILES config.php>
deny from all
</FILES>
<FILES debmes.txt>
deny from all
</FILES>