1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Options -MultiViews -Indexes
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule admin/plugin/(.*?)/(.*) /admin/plugin.php?_p=$1&_u=$2 [QSA,L]
RewriteRule f/([\d\w]+)/(.*) /file.php?id=$1&file=$2 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /index.php [QSA,L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
|
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Options -MultiViews -Indexes
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule admin/plugin/(.*?)/(.*) admin/plugin.php?_p=$1&_u=$2 [QSA,L]
RewriteRule f/([\d\w]+)/(.*) file.php?id=$1&file=$2 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [QSA,L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
|