Размер файла: 1.65Kb
#Кодировка#
AddDefaultCharset utf-8
#Директория#
DirectoryIndex index.php
Options -Indexes
RewriteEngine On
#ошибки#
ErrorDocument 304 /
ErrorDocument 400 /
ErrorDocument 401 /
ErrorDocument 403 /
ErrorDocument 404 /
ErrorDocument 406 /
ErrorDocument 500 /
ErrorDocument 502 /
#Кабинет#
RewriteRule ^kab?$ m/cab.php [L,QSA]
RewriteRule ^user?$ m/user.php [L,QSA]
RewriteRule ^us([0-9]*)/?$ m/us.php?id=$1 [L,QSA]
RewriteRule ^ava?$ m/ava.php [L,QSA]
RewriteRule ^user/on?$ m/user.php?act=online [L,QSA]
#Форум#
RewriteRule ^forum/razdel([0-9]*)/?$ forum/raz.php?id=$1 [L,QSA]
RewriteRule ^forum/tema([0-9]*)/?$ forum/tema.php?id=$1 [L,QSA]
RewriteRule ^forum/kat?$ forum/forum/kat.php [L,QSA]
RewriteRule ^forum/nt([0-9]*)/?$ forum/forum/tema.php?id=$1 [L,QSA]
RewriteRule ^forum/del_post([0-9]*)/?$ forum/forum/post.php?id=$1 [L,QSA]
RewriteRule ^forum/del_tem([0-9]*)/?$ forum/forum/tem_del.php?id=$1 [L,QSA]
RewriteRule ^forum/close_tem([0-9]*)/?$ forum/forum/close.php?id=$1 [L,QSA]
RewriteRule ^forum/open_tem([0-9]*)/?$ forum/forum/open.php?id=$1 [L,QSA]
RewriteRule ^forum/post_otv([0-9]*)/?$ forum/forum/otv.php?id=$1 [L,QSA]
#Новости#
RewriteRule ^news/delnew_([0-9]*)/?$ news/index.php?section=delnew&id=$1 [L,QSA]
RewriteRule ^news/add/?$ news/index.php?section=addnews [L,QSA]
#Разные#
RewriteRule ^smile?$ m/smile.php [L,QSA]
RewriteRule ^bb?$ m/bb.php [L,QSA]
#Загруз центр#
RewriteRule ^zc/newfil([0-9]*)/?$ zc/newfil.php [L,QSA]
RewriteRule ^zc/file([0-9]*)/?$ zc/file.php?id=$1 [L,QSA]
#Гостевая#
RewriteRule ^guest/del_guest([0-9]*)/?$ guest/post.php?id=$1 [L,QSA]