-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
21 lines (19 loc) · 860 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
RewriteEngine On
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule . index.php
RewriteRule ^dl/(\d+)/(\d+)/.*$ link.php?action=download&id=$1&fid=$2
RewriteRule ^open/(\d+)/(\d+)/.*$ link.php?action=open&id=$1&fid=$2
RewriteRule ^link/(\d+)/?$ link.php?id=$1
RewriteRule ^link/(\d+)/(\d+)/?$ link.php?id=$1&fid=$2
RewriteRule ^archive/(\d+)/(\d+)/.*$ link.php?action=tar&id=$1&fid=$2
RewriteRule ^/?$ zxs.php
RewriteRule ^(\d+)/?$ zxs.php?id=$1
RewriteRule ^links/?$ zxs.php?action=links
RewriteRule ^all/?$ zxs.php?action=all
RewriteRule ^all/(\d+)/?$ zxs.php?action=all&id=$1
RewriteRule ^all-links/?$ zxs.php?action=all-links
RewriteRule ^all-links/(\d+)/?$ zxs.php?action=all-links&id=$1
RewriteRule ^stats/?$ zxs.php?action=stats
RewriteRule ^info/?$ zxs.php?action=info
RewriteRule ^logoff/?$ zxs.php?action=logoff