Файл: .htaccess
Строк: 45
#Кодировка#
AddDefaultCharset utf-8
#Директория#
DirectoryIndex index.php
Options -Indexes
php_value date.timezone "Europe/Kiev"
RewriteEngine
On
#Разные реврайты#
RewriteRule ^login?$
users/login.php [L]
RewriteRule ^reg?$ users/reg.php [L]
RewriteRule ^online?$ users/online.php [L]
RewriteRule ^exit?$
users/exit.php [L]
RewriteRule ^news?$ news/exit.php
[L]
#Реврайты для профиль и всё что с ним
связаное#
RewriteRule ^mini_chat?$ mini_chat/index.php [L]
RewriteRule ^mini_chat/del([0-9]*)/?$ mini_chat/index.php?del=$1 [L,QSA]
RewriteRule ^mini_chat/otv([0-9]*)/?$ mini_chat/index.php?otv=$1
[L,QSA]
RewriteRule ^panel?$ users/cab.php [L]
RewriteRule
^apanel?$ apanel/index.php [L]
RewriteRule ^apanel/uedit([0-9]*)?$
apanel/uedit.php?id=$1 [L,QSA]
RewriteRule ^apanel/news?$
apanel/news.php [L]
RewriteRule ^apanel/news/del([0-9]*)/?$
apanel/news.php?del=$1 [L,QSA]
RewriteRule ^edit?$ users/edit.php [L]
RewriteRule ^ava?$ users/ava.php [L]
RewriteRule ^people?$
users/people.php [L]
RewriteRule ^us([0-9]*)/?$
users/profile.php?id=$1 [L,QSA]
RewriteRule ^settings?$
users/settings.php [L]
#Реврайты для форума#
RewriteRule ^forum/?$ forum/index.php [L]
RewriteRule
^forum/([0-9]*)/?$ forum/forum.php?id=$1 [L,QSA]
RewriteRule
^forum/([0-9]*)/([0-9]*)/?$ forum/section.php?idr=$1&id=$2 [L,QSA]
RewriteRule ^forum/([0-9]*)/([0-9]*)/?$ forum/section.php?idr=$1&id=$2
[L,QSA]
RewriteRule ^forum/topic([0-9]*)/?$ forum/topic.php?id=$1
[L,QSA]
RewriteRule ^forum/topic([0-9]*)/replay([0-9]*)?$
forum/replay.php?id=$1&replay=$2 [L,QSA]
RewriteRule
^forum/topic([0-9]*)/delete([0-9]*)?$ forum/delete.php?id=$1&delete=$2
[L,QSA]