Файл: .htaccess
Строк: 47
DirectoryIndex index.php index.wml
AddDefaultCharset UTF-8
php_flag
magic_quotes_gpc on
#php_value session.use_cookies 1
#php_value
session.use_trans_sid 1
#php_value session.cookie_lifetime
0
#ErrorDocument 404 /404.php
order allow,deny
deny from
95.211.169.48
allow from all
RewriteEngine on
#cat
RewriteRule
^cat/([0-9]+)?$ cat.php?id=$1 [L,QSA]
RewriteRule ^cat/reit/([0-9]+)?$
cat.php?case=reit&id=$1 [L,QSA]
RewriteRule
^game/([0-9]+)/cat/([0-9]+)?$ game.php?id=$1&cat=$1
[L,QSA]
RewriteRule ^game/comment/([0-9]+)?$
game.php?case=comment&id=$1 [L,QSA]
RewriteRule
^cat/add_site/([0-9]+)?$ cat.php?case=add_s&id=$1
[L,QSA]
#user
RewriteRule ^ank/([0-9]+)$ /kabinet/ank.php?id=$1
[L,QSA]
RewriteRule ^lenta/$ /kabinet/lenta.php [L,QSA]
RewriteRule
^ank/plus/([0-9]+)$ /kabinet/reit.php?case=karma&id=$1
[L,QSA]
RewriteRule ^ank/minus/([0-9]+)$
/kabinet/reit.php?case=minus&id=$1 [L,QSA]
#forum
RewriteRule
^tema/([0-9]+)?$ forum/tema.php?id=$1 [L,QSA]
RewriteRule
^forum/temi/([0-9]+)$ forum/forum.php?case=temi&id=$1
[L,QSA]
RewriteRule ^forum/new_tem/([0-9]+)?$
forum.php?case=new_tem&cat=$1 [L,QSA]
RewriteRule
^tema/([0-9]+)/red/red_tema/([0-9]+)$
forum/tema_red.php?id=$1&case=red&red_tema=$1 [L,QSA]
#RewriteRule
^tema/([0-9]+)/red/red_post/([0-9]+)$
forum/tema.php?id=$1&case=red&red_post=$1 [L,QSA]
RewriteRule
^view_forum_tema_user/([0-9]+)$ view_forum_tema.php?id=$1
[L,QSA]
#SITES
RewriteRule ^mysite/$ /moduls/sites.php?case=mysite
[L,QSA]
RewriteRule ^mysite_red/([0-9]+)?$
/moduls/sites.php?case=red&id=$1 [L,QSA]
RewriteRule
^mysite_del/([0-9]+)?$ /moduls/sites.php?case=del&id=$1
[L,QSA]
RewriteRule ^serf/([0-9]+)?$ /moduls/serf.php?case=serf&id=$1
[L,QSA]
RewriteRule ^link/([0-9]+)?$ click.php?id=$1
[L,QSA]
#my_ob
RewriteRule ^stat/forum/([0-9]+)$
/kabinet/my_ob.php?act=forum&id=$1 [L,QSA]
RewriteRule
^stat/akk/([0-9]+)$ /kabinet/my_ob.php?act=my_stat&id=$1
[L,QSA]
RewriteRule ^stat/ob/([0-9]+)$ /kabinet/my_ob.php?id=$1
[L,QSA]
#mail
RewriteRule ^mail/view/([0-9]+)?$
mail.php?case=view_mess&id=$1 [L,QSA]
RewriteRule
^mail/id/([0-9]+)/view/kto/([0-9]+)/?$
mail.php?id=$1&case=view_mess&kto=$2 [L,QSA]
#cod
RewriteRule
^view_cod/([0-9]+)?$ cod/cod.php?id=$1 [L,QSA]
#news
RewriteRule
^news/comment/([0-9]+)?$ news/comment.php?id=$1 [L,QSA]
RewriteRule
^search/$ search.php [L,QSA]
#tiket
RewriteRule ^ticket_view/([0-9]+)?$
ticket/index.php?id=$1&case=ticket_view [L,QSA]
RewriteRule
^ticket_view_panel/([0-9]+)?$ panel/ticket.php?id=$1&case=ticket_view
[L,QSA]
RewriteRule ^panel_vivod/?$ panel/vivod.php
[L,QSA]
#IFRAME
RewriteRule ^ban/$ moduls/ban.php [L,QSA]
RewriteRule
^promo/$ wk/promo.php [L,QSA]
RewriteRule ^all/$ moduls/all.php
[L,QSA]
RewriteRule ^all5/$ moduls/all_iframe.php [L,QSA]