-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
executable file
·32 lines (19 loc) · 1.2 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
32
RewriteEngine On
#RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*\.)(js|css)$ /js/jscsscomp.php?q=$1$2 [L,NC]
RewriteRule ^admin/?$ /cms/index.php [L]
RewriteRule ^admin/(.*)/?$ /cms/index.php?module=$1 [L]
RewriteRule ^file/(.*)$ /core/DataStorage.php?id=$1 [L]
RewriteRule ^mail/(.*)/(.*)/norexLink.jpg$ /index.php?module=Mail§ion=collect&user=$1&mso_id=$2 [NC,L]
RewriteRule ^user/(.*)?/? /index.php?module=User§ion=$1 [NC,L]
RewriteRule ^content/(.*)? /index.php?module=Content&page=$1 [NC,L]
RewriteRule ^ad/(.*)? /index.php?module=Advertise§ion=ad&page=$1 [NC,L]
RewriteRule ^forum/(.*)? /index.php?module=Forums&page=$1 [NC,L]
RewriteRule ^support/? /index.php?module=Support&page=$1 [NC,L]
RewriteRule ^store/([A-Za-z]+)/?(.*)?$ /index.php?module=Cart&page=$2§ion=$1 [NC,L]
RewriteRule ^store/(.*)? /index.php?module=Cart§ion=$1 [NC,L]
RewriteRule ^blog/(.*)? /index.php?module=Blog&page=$1 [NC,L]
RewriteRule ^gallery/(.*)? /index.php?module=Gallery&page=$1 [NC,L]
RewriteRule ^sitemap.xml$ /index.php?module=SEO [NC,L]
RewriteRule ^sitemap.xml.gz$ /index.php?module=SEO&encoding=gz [NC,L]
RewriteRule ^Vote/(.*)? /index.php?module=Campaigns&hash=$1 [NC,L]