(3 окт 2015, 15:20) (
0/
0)
[
0]
RewriteEngine On
DirectoryIndex index.php
Options All -Indexes
#php_value session.use_cookies 1
AddDefaultCharset utf-8
RewriteRule ^([0-9]*)$ index.php?page=$1 [L,QSA]
RewriteRule ^VIP$ m/vip.php [L,QSA]
RewriteRule ^m/registration$ m/registration.php [L,QSA]
RewriteRule ^exit$ m/authentication.php?act=exit [L,QSA]
RewriteRule ^m/authentication$ m/authentication.php [L,QSA]
RewriteRule ^m/ban$ m/ban.php [L,QSA]
RewriteRule ^m/ban/([0-9]*)$ m/ban.php?page=$1 [L,QSA]
RewriteRule ^m/office$ m/office.php [L,QSA]
RewriteRule ^m/office/platforms$ m/office.php?act=platforms [L,QSA]
RewriteRule ^m/office/addPlatform$ m/office.php?act=add_platform [L,QSA]
RewriteRule ^m/office/addPlatform/2$ m/office.php?act=add_platform&mod=2 [L,QSA]
RewriteRule ^m/office/settings$ m/office.php?act=settings [L,QSA]
RewriteRule ^m/office/code$ m/office.php?act=code [L,QSA]
RewriteRule ^m/office/code/([0-9]*)$ m/office.php?act=code&id=$1 [L,QSA]
RewriteRule ^m/office/editPlatform/([0-9]*)$ m/office.php?act=edit_platform&id=$1 [L,QSA]
RewriteRule ^m/office/editPlatform/2/([0-9]*)$ m/office.php?act=edit_platform&mod=2&id=$1 [L,QSA]
RewriteRule ^m/office/deletePlatform/([0-9]*)$ m/office.php?act=del_platform&id=$1 [L,QSA]
RewriteRule ^m/office/deletePlatform/([0-9]*)/ok$ m/office.php?act=del_platform&id=$1&ok [L,QSA]
RewriteRule ^adm_panel/users.php/([0-9]*)$ adm_panel/users.php?page=$1 [L,QSA]
RewriteRule ^adm_panel/platforms.php/([0-9]*)$ adm_panel/platforms.php?page=$1 [L,QSA]
RewriteRule ^m/search$ m/search.php [L,QSA]
RewriteRule ^adm_panel/news.php/([0-9]*)$ adm_panel/news.php?page=$1 [L,QSA]
RewriteRule ^adm_panel/news.php?act=comments/([0-9]*)/([0-9]*)$ adm_panel/news.php?act=comments&id=$1&page=$2 [L,QSA]
RewriteRule ^m/rules$ m/rules.php [L,QSA]
RewriteRule ^rules$ m/r.php [L,QSA]
RewriteRule ^m/news$ m/news.php [L,QSA]
RewriteRule ^m/news/([0-9]*)$ m/news.php?page=$1 [L,QSA]
RewriteRule ^m/news/comments/([0-9]*)$ m/news.php?act=comments&id=$1 [L,QSA]
RewriteRule ^m/news/comments/([0-9]*)/([0-9]*)$ m/news.php?act=comments&id=$1&page=$2 [L,QSA]
RewriteRule ^m/recoveryPassword$ m/recoveryPassword.php [L,QSA]
RewriteRule ^m/allStats$ m/allStats.php [L,QSA]
RewriteRule ^m/category$ m/cat.php [L,QSA]
RewriteRule ^stat$ m/top.php [L,QSA]
RewriteRule ^info$ m/info.php [L,QSA]
RewriteRule ^m/category/view/([0-9]*)$ m/cat.php?act=view&id=$1 [L,QSA]
RewriteRule ^m/category/view/([0-9]*)/([0-9]*)$ m/cat.php?act=view&id=$1&page=$2 [L,QSA]
RewriteRule ^m/contacts$ m/contacts.php [L,QSA]
RewriteRule ^stats/([0-9]*)$ m/stats.php?id=$1 [L,QSA]
RewriteRule ^stats/([0-9]*)/all$ m/stats.php?act=all&id=$1 [L,QSA]
RewriteRule ^stats/([0-9]*)/hours$ m/stats.php?act=hours&id=$1 [L,QSA]
RewriteRule ^stats/([0-9]*)/ip$ m/stats.php?act=ip&id=$1 [L,QSA]
RewriteRule ^stats/([0-9]*)/ip/([0-9]*)$ m/stats.php?act=ip&id=$1&page=$2 [L,QSA]
RewriteRule ^stats/([0-9]*)/operators$ m/stats.php?act=operators&id=$1 [L,QSA]
RewriteRule ^stats/([0-9]*)/operators/([0-9]*)$ m/stats.php?act=operators&id=$1&page=$2 [L,QSA]
RewriteRule ^stats/([0-9]*)/online$ m/stats.php?act=online&id=$1 [L,QSA]
RewriteRule ^stats/([0-9]*)/day$ m/stats.php?act=day&id=$1 [L,QSA]
RewriteRule ^stats/([0-9]*)/online/([0-9]*)$ m/stats.php?act=online&id=$1&page=$2 [L,QSA]
RewriteRule ^go/([0-9]*)$ go.php?id=$1 [L,QSA]
RewriteRule ^out/([0-9]*)$ out.php?id=$1 [L,QSA]
RewriteRule ^go-([0-9]*)\.php$ go.php?id=$1 [L,QSA]
RewriteRule ^img/([0-9]*)$ image.php?id=$1 [L,QSA]
RewriteRule ^image-([0-9]*)\.php$ image.php?id=$1 [L,QSA]
RewriteRule ^img_small/([0-9]*)$ imageOther.php?id=$1 [L,QSA]