forked from kadnass-dz/Xploit-Cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
28 lines (21 loc) · 802 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
Options +FollowSymLinks
Options All -Indexes
Options +FollowSymLinks -MultiViews
ErrorDocument 404 /index.php?page=404
RewriteEngine on
#category
RewriteRule ^webapps/$ index.php?cat=1 [NC]
RewriteRule ^rl_exploits/$ index.php?cat=2 [NC]
RewriteRule ^papers/$ index.php?cat=3 [NC]
RewriteRule ^tools/$ index.php?cat=4 [NC]
#category pagin
RewriteRule ^webapps/([0-9]+)$ index.php?cat=1&pagin=$1 [NC]
RewriteRule ^rl_exploits/([0-9]+)$ index.php?cat=2&pagin=$1 [NC]
RewriteRule ^papers/([0-9]+)$ index.php?cat=3&pagin=$1 [NC]
RewriteRule ^tools/([0-9]+)$ index.php?cat=4&pagin=$1 [NC]
#exploit
RewriteRule ^exploit/([0-9]+)$ index.php?exploit=$1 [NC]
#author
RewriteRule ^author/(.*)$ index.php?author=$1 [NC]
#search
RewriteRule ^search/(.+)$ index.php?search=$1 [NC]