Файл: public_html/core/backup.htaccess
Строк: 397
AddDefaultCharset utf-8
DirectoryIndex index.php
Options
-Indexes
php_value error_reporting 32768
php_value display_errors
1
#<IfModule mod_gzip.c>
#mod_gzip_on Yes
#mod_gzip_dechunk
Yes
#mod_gzip_item_include file
\.(html?|txt|css|js|php|pl)$
#mod_gzip_item_include handler
^cgi-script$
#mod_gzip_item_include mime ^text\.*
#mod_gzip_item_include
mime ^application/x-javascript.*
#mod_gzip_item_exclude mime
^image\.*
#mod_gzip_item_exclude rspheader
^Content-Encoding:.*gzip.*
#</IfModule>
ErrorDocument 400
/modules/error.php
ErrorDocument 401 /modules/error.php
ErrorDocument 403
/modules/error.php
ErrorDocument 404 /modules/error.php
ErrorDocument 500
/modules/error.php
RewriteEngine On
#Страницы
аутентификации, активации
RewriteRule ^quit/?$
modules/exit.php [L,QSA]
RewriteRule ^/?$ index.php [L,QSA]
RewriteRule
^start/?$ modules/start.php [L,QSA]
RewriteRule ^auth/?$ modules/auth.php
[L,QSA]
RewriteRule ^rules/?$ modules/rules.php [L,QSA]
RewriteRule
^save/?$ modules/save.php [L,QSA]
RewriteRule
^activation/([-a-zA-Z0-9_]+)?$
modules/settings.php?act=activation&code=$1 [L,QSA]
#Страницы
настроек
RewriteRule ^settings/?$ modules/settings.php
[L,QSA]
RewriteRule ^settings/ip/?$ modules/settings.php?act=ip
[L,QSA]
RewriteRule ^settings/email/?$ modules/settings.php?act=email
[L,QSA]
RewriteRule ^settings/pass/?$ modules/settings.php?act=pass
[L,QSA]
RewriteRule ^settings/login/?$ modules/settings.php?act=login
[L,QSA]
RewriteRule ^settings/login/change/?$
modules/settings.php?act=login&change [L,QSA]
#Техническая
поддержка
RewriteRule ^support/?$ modules/support.php
[L,QSA]
RewriteRule ^support/new/?$ modules/support.php?act=new
[L,QSA]
RewriteRule ^support/view/([0-9]*)/?$
modules/support.php?act=view&id=$1 [L,QSA]
RewriteRule
^support/view/([0-9]*)/closed/?$
modules/support.php?act=view&id=$1&closed [L,QSA]
#Панели
администратора
RewriteRule ^panel/users/?$
modules/panel/users.php [L,QSA]
RewriteRule ^panel/subject/?$
modules/panel/subject.php [L,QSA]
RewriteRule ^panel/subject/clothing/?$
modules/panel/subject.php?act=clothing [L,QSA]
RewriteRule
^panel/subject/resource/?$ modules/panel/subject.php?act=resource
[L,QSA]
RewriteRule ^panel/subject/all/?$
modules/panel/subject.php?act=all [L,QSA]
RewriteRule
^panel/subject/del/([0-9]*)/?$ modules/panel/subject.php?act=del&id=$1
[L,QSA]
RewriteRule ^panel/subject/edit/([0-9]*)/?$
modules/panel/subject.php?act=edit&id=$1 [L,QSA]
RewriteRule
^panel/subject/img/([0-9]*)/?$ modules/panel/subject.php?act=img&id=$1
[L,QSA]
RewriteRule ^panel/support/?$ modules/panel/support.php
[L,QSA]
RewriteRule ^panel/banned/?$ modules/panel/banned.php
[L,QSA]
RewriteRule ^panel/banned/all/?$ modules/panel/banned.php?act=all
[L,QSA]
RewriteRule ^panel/banned/search/?$
modules/panel/banned.php?act=search [L,QSA]
RewriteRule
^panel/banned/view/?$ modules/panel/banned.php?act=view
[L,QSA]
RewriteRule ^panel/banned/block/([0-9]*)/?$
modules/panel/banned.php?act=block&id=$1 [L,QSA]
RewriteRule
^panel/banned/delete/([0-9]*)/?$
modules/panel/banned.php?act=delete&id=$1 [L,QSA]
RewriteRule
^panel/abuse/?$ modules/panel/abuse.php [L,QSA]
RewriteRule
^panel/abuse/view/([0-9]*)/?$ modules/panel/abuse.php?act=view&id=$1
[L,QSA]
RewriteRule ^panel/base/?$ modules/panel/base.php
[L,QSA]
RewriteRule ^panel/base/truncate/([-a-zA-Z0-9_]+)/?$
modules/panel/base.php?act=truncate&base=$1 [L,QSA]
RewriteRule
^users/([-a-zA-Z0-9_]+)/? modules/users.php?name=$1 [L,QSA]
RewriteRule
^panel/logs/?$ modules/panel/log.php [L,QSA]
RewriteRule
^panel/logs/users?$ modules/panel/log.php?act=users [L,QSA]
RewriteRule
^panel/logs/subject?$ modules/panel/log.php?act=subject
[L,QSA]
RewriteRule ^panel/logs/block?$ modules/panel/log.php?act=block
[L,QSA]
RewriteRule ^panel/logs/support?$
modules/panel/log.php?act=support [L,QSA]
RewriteRule ^panel/logs/abuse?$
modules/panel/log.php?act=abuse [L,QSA]
RewriteRule ^panel/logs/other?$
modules/panel/log.php?act=other [L,QSA]
RewriteRule ^panel/users/all?$
modules/panel/users.php?act=all [L,QSA]
RewriteRule ^panel/users/adm?$
modules/panel/users.php?act=adm [L,QSA]
RewriteRule ^panel/users/search?$
modules/panel/users.php?act=search [L,QSA]
RewriteRule ^panel/users/view?$
modules/panel/users.php?act=view [L,QSA]
RewriteRule
^panel/edit/([0-9]*)/?$ modules/panel/users.php?act=edit&id=$1
[L,QSA]
#Стартовый квест
RewriteRule ^start/([0-9]*)/?$
modules/start.php?side=$1 [L,QSA]
#Страницы
пользователей
RewriteRule ^user/([0-9]*)/?$
modules/user.php?id=$1 [L,QSA]
RewriteRule ^user/([0-9]*)/abuse/?$
modules/user.php?id=$1&abuse [L,QSA]
RewriteRule
^user/([0-9]*)/item/([0-9]*)/?$
modules/user_item_info.php?user=$1&item=$2
[L,QSA]
#Чат
RewriteRule ^chat/?$ chat.php
[L,QSA]
#Форум
RewriteRule ^forum/?$ modules/forum/index.php
[L,QSA]
RewriteRule ^forum/([0-9]*)/?$
modules/forum/section.php?section=$1 [L,QSA]
RewriteRule
^forum/([0-9]*)/addTheme?$ modules/forum/addtheme.php?section=$1
[L,QSA]
RewriteRule ^forum/([0-9]*)/addTheme/confirm/?$
modules/forum/addtheme.php?section=$1&addtheme [L,QSA]
RewriteRule
^forum/([0-9]*)/theme([0-9]*)/?$
modules/forum/theme.php?section=$1&theme=$2 [L,QSA]
RewriteRule
^forum/([0-9]*)/theme([0-9]*)/addComment/?$
modules/forum/theme.php?section=$1&theme=$2&addcomment
[L,QSA]
#Магазин
RewriteRule ^shop/?$ modules/shop/index.php
[L,QSA]
RewriteRule ^shop/([A-Za-z]*)/?$ modules/shop/list.php?type=$1
[L,QSA]
RewriteRule ^shop/([A-Za-z]*)/([A-Za-z\-]*)/?$
modules/shop/item.php?type=$1&item_id=$2 [L,QSA]
RewriteRule
^shop/([A-Za-z]*)/([A-Za-z\-]*)/buy/?$
modules/shop/item.php?type=$1&item_id=$2&buy [L,QSA]
RewriteRule
^shop/([A-Za-z]*)/([A-Za-z\-]*)/buy/yes/?$
modules/shop/item.php?type=$1&item_id=$2&buy&yes
[L,QSA]
#Инвентарь
RewriteRule ^inventory/?$
modules/inventory/index.php [L,QSA]
RewriteRule ^inventory/([0-9]*)/?$
modules/inventory/item.php?item_id=$1 [L,QSA]
RewriteRule
^inventory/([0-9]*)/wear/?$ modules/inventory/item.php?item_id=$1&wear
[L,QSA]
RewriteRule ^inventory/([0-9]*)/unwear/?$
modules/inventory/item.php?item_id=$1&unwear [L,QSA]
RewriteRule
^inventory/([0-9]*)/sell/?$ modules/inventory/item.php?item_id=$1&sell
[L,QSA]
RewriteRule ^inventory/([0-9]*)/sell/yes/?$
modules/inventory/item.php?item_id=$1&sell&yes
[L,QSA]
#Почта
RewriteRule ^mail/?$ modules/mail/index.php
[L,QSA]
RewriteRule ^mail/new/([0-9]*)/?$ mail/new.php?id=$1
[L,QSA]
RewriteRule ^mail/new/([0-9]*)/yes?$ mail/new.php?id=$1&yes
[L,QSA]
RewriteRule ^mail/dialog/([0-9]*)/?$ mail/dialog.php?id=$1
[L,QSA]
RewriteRule ^mail/dialog/([0-9]*)/send?$
mail/dialog.php?id=$1&send [L,QSA]
RewriteRule ^mail/friends/?$
mail/friends.php [L,QSA]
RewriteRule ^mail/friends/add?$
mail/addfriend.php [L,QSA]
RewriteRule ^mail/friends/del/([0-9]*)/?$
mail/friends.php?del&id=$1 [L,QSA]
RewriteRule ^mail/blacklist/?$
mail/blacklist.php [L,QSA]
RewriteRule ^mail/blacklist/add?$
mail/addblacklist.php [L,QSA]
RewriteRule ^mail/blacklist/del/([0-9]*)/?$
mail/blacklist.php?del&id=$1 [L,QSA]
#Пещеры
RewriteRule
^caves/?$ caves.php [L,QSA]
RewriteRule ^caves/attack/?$ caves.php?attack
[L,QSA]
#Сумка
RewriteRule ^bag/?$ bag.php [L,QSA]
#Поле
боя
RewriteRule ^battleground/?$ battleground/index.php
[L,QSA]
RewriteRule ^battleground/enter/?$ battleground/index.php?enter
[L,QSA]
RewriteRule ^battleground/leave/?$ battleground/index.php?leave
[L,QSA]
RewriteRule ^battleground/battle/?$ battleground/battle.php
[L,QSA]
RewriteRule ^battleground/battle/attack/?$
battleground/battle.php?attack [L,QSA]
RewriteRule
^battleground/battle/dodge/?$ battleground/battle.php?dodge
[L,QSA]
RewriteRule ^battleground/result/?$ battleground/result.php
[L,QSA]
#Рейтинг
RewriteRule ^online/?$ rating/online.php
[L,QSA]
RewriteRule ^noalliance/?$ rating/noalliance.php
[L,QSA]
RewriteRule ^rating/?$ rating/index.php [L,QSA]
RewriteRule
^rating/level/?$ rating/level.php [L,QSA]
RewriteRule
^rating/battleground/?$ rating/battleground.php
[L,QSA]
#Окрестности
RewriteRule ^locations/?$
locations/index.php [L,QSA]
RewriteRule ^locations/([0-9]*)/?$
locations/location.php?id=$1 [L,QSA]
RewriteRule
^locations/([0-9]*)/mob-info-([0-9]*)/?$
locations/mob_info.php?id=$1&mob_id=$2 [L,QSA]
RewriteRule
^locations/([0-9]*)/attack-([0-9]*)/?$
locations/location.php?id=$1&mob_id=$2&attack [L,QSA]
RewriteRule
^locations/([0-9]*)/battle/?$ locations/battle.php?id=$1
[L,QSA]
RewriteRule ^locations/([0-9]*)/battle/attack/?$
locations/battle.php?id=$1&attack [L,QSA]
#Альянсы
RewriteRule
^alliance/?$ alliance/index.php [L,QSA]
RewriteRule ^alliance/my/?$
alliance/my.php [L,QSA]
RewriteRule ^alliance/create/?$
alliance/create.php [L,QSA]
RewriteRule ^alliance/list/?$
alliance/list.php [L,QSA]
RewriteRule ^alliance/journal/?$
alliance/journal.php [L,QSA]
RewriteRule ^alliance/chat/?$
alliance/chat.php [L,QSA]
RewriteRule ^alliance/dissolve/?$
alliance/my.php?dissolve [L,QSA]
RewriteRule ^alliance/chest/?$
alliance/chest.php [L,QSA]
RewriteRule ^alliance/dissolve/yes/?$
alliance/my.php?dissolve&yes [L,QSA]
RewriteRule ^alliance/exit/?$
alliance/my.php?exit [L,QSA]
RewriteRule ^alliance/exit/yes/?$
alliance/my.php?exit&yes [L,QSA]
RewriteRule ^alliance/coffers/?$
alliance/coffers.php [L,QSA]
RewriteRule ^alliance/invite/([0-9]*)/?$
alliance/my.php?invite&id=$1 [L,QSA]
RewriteRule
^alliance/info/([0-9]*)/?$ alliance/info.php?id=$1 [L,QSA]
RewriteRule
^alliance/invites/?$ alliance/invites.php
RewriteRule
^alliance/invites/([0-9]*)/accept/?$
alliance/invites.php?accept&invite_id=$1 [L,QSA]
RewriteRule
^alliance/invites/([0-9]*)/decline/?$
alliance/invites.php?decline&invite_id=$1 [L,QSA]
RewriteRule
^alliance/manage/([0-9]*)/?$ alliance/manage.php?id=$1 [L,QSA]
RewriteRule
^alliance/manage/([0-9]*)/up/?$ alliance/manage.php?id=$1&up
[L,QSA]
RewriteRule ^alliance/manage/([0-9]*)/down/?$
alliance/manage.php?id=$1&down [L,QSA]
RewriteRule
^alliance/manage/([0-9]*)/kick/?$ alliance/manage.php?id=$1&kick
[L,QSA]
RewriteRule ^alliance/forum/([0-9]*)/?$
alliance/forum/index.php?alliance=$1 [L,QSA]
RewriteRule
^alliance/forum/([0-9]*)/createSection/?$
alliance/forum/addsection.php?alliance=$1 [L,QSA]
RewriteRule
^alliance/forum/([0-9]*)/createSection/confirm/?$
alliance/forum/addsection.php?alliance=$1&confirm [L,QSA]
RewriteRule
^alliance/forum/([0-9]*)/([0-9]*)/?$
alliance/forum/section.php?alliance=$1§ion=$2 [L,QSA]
RewriteRule
^alliance/forum/([0-9]*)/([0-9]*)/addTheme?$
alliance/forum/addtheme.php?alliance=$1§ion=$2 [L,QSA]
RewriteRule
^alliance/forum/([0-9]*)/([0-9]*)/addTheme/confirm/?$
alliance/forum/addtheme.php?alliance=$1§ion=$2&addtheme
[L,QSA]
RewriteRule ^alliance/forum/([0-9]*)/([0-9]*)/theme([0-9]*)/?$
alliance/forum/theme.php?alliance=$1§ion=$2&theme=$3
[L,QSA]
RewriteRule
^alliance/forum/([0-9]*)/([0-9]*)/theme([0-9]*)/addComment/?$
alliance/forum/theme.php?alliance=$1§ion=$2&theme=$3&addcomment
[L,QSA]
#Восстановление пароля
RewriteRule
^recovery/?$ recovery/index.php [L,QSA]
RewriteRule
^recovery/([A-Za-z0-9]*)/?$ recovery/recovery.php?code=$1
[L,QSA]
RewriteRule ^recovery/([A-Za-z0-9]*)/yes/?$
recovery/recovery.php?code=$1&recovery
[L,QSA]
#Кузница
RewriteRule ^forge/?$ forge/index.php
[L,QSA]
RewriteRule ^forge/slot_upgrade/?$ forge/slot_upgrade.php
[L,QSA]
RewriteRule ^forge/slot_upgrade/([A-Za-z]*)/upgrade/?$
forge/slot_upgrade.php?type=$1&upgrade [L,QSA]
RewriteRule
^forge/stones/?$ forge/stones/index.php [L,QSA]
RewriteRule
^forge/stones/([0-9]*)/?$ forge/stones/item.php?item=$1
[L,QSA]
RewriteRule ^forge/stones/([0-9]*)/set/([0-9]*)/?$
forge/stones/item.php?item=$1&stone=$2&set [L,QSA]
RewriteRule
^forge/stones/([0-9]*)/set/([0-9]*)/yes/?$
forge/stones/item.php?item=$1&stone=$2&set&yes
[L,QSA]
RewriteRule ^forge/stones/([0-9]*)/del/?$
forge/stones/delete.php?item=$1 [L,QSA]
RewriteRule
^forge/stones/([0-9]*)/del/([0-9]*)/?$
forge/stones/delete.php?item=$1&stone=$2&del [L,QSA]
RewriteRule
^forge/stones/([0-9]*)/del/([0-9]*)/yes/?$
forge/stones/delete.php?item=$1&stone=$2&del&yes
[L,QSA]
#Захват
RewriteRule ^capture/?$ capture/index.php
[L,QSA]
RewriteRule ^capture/enter/?$ capture/index.php?enter
[L,QSA]
RewriteRule ^capture/leave/?$ capture/index.php?leave
[L,QSA]
RewriteRule ^capture/battle/?$ capture/battle.php
[L,QSA]
#Стартовый квест
RewriteRule ^tutorial/([0-9]*)/?$
tutorial/$1.php [L,QSA]
#Кампания
RewriteRule ^campaign/?$
campaign.php [L,QSA]
RewriteRule ^campaign/complete/?$
campaign.php?complete [L,QSA]
#Ежедневные
задания
RewriteRule ^tasks/?$ quest.php
[L,QSA]
#Платёжная система
RewriteRule ^pay/?$
payment/index.php [L,QSA]
RewriteRule ^pay/([0-9]*)/?$
payment/index.php?paymentId=$1&pay [L,QSA]
RewriteRule ^pay/fail/?$
payment/result.php?status=fail [L,QSA]
RewriteRule ^pay/success/?$
payment/result.php?status=success [L,QSA]
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule
.*\.(jpe?g|gif|png)$ - [F]