Файл: public_html/.htaccess
Строк: 564
DirectoryIndex index.php
Options -Indexes
<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>
<IfModule
mod_deflate.c>
AddOutputFilterByType DEFLATE
text/html
AddOutputFilterByType DEFLATE
application/javascript
AddOutputFilterByType DEFLATE
text/javascript
AddOutputFilterByType DEFLATE text/css
<IfModule
mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch
^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip
!gzip-only-text/html
</IfModule>
</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 ^faq/?$ modules/faq.php
[L,QSA]
RewriteRule ^maintenance/?$ modules/maintenance.php
[L,QSA]
RewriteRule ^/?$ index.php [L,QSA]
RewriteRule ^start/?$
modules/start.php [L,QSA]
RewriteRule ^ban/([A-Za-z]*)?$
modules/ban.php?type=$1 [L,QSA]
RewriteRule ^auth/?$ modules/auth.php
[L,QSA]
RewriteRule ^rules/?$ modules/rules.php [L,QSA]
RewriteRule
^contacts/?$ modules/contacts.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 ^access/?$ modules/panel/index.php
[L,QSA]
RewriteRule ^access/users/?$ modules/panel/users.php
[L,QSA]
RewriteRule ^access/subject/?$ modules/panel/subject.php
[L,QSA]
RewriteRule ^access/subject/clothing/?$
modules/panel/subject.php?act=clothing [L,QSA]
RewriteRule
^access/subject/resource/?$ modules/panel/subject.php?act=resource
[L,QSA]
RewriteRule ^access/subject/all/?$
modules/panel/subject.php?act=all [L,QSA]
RewriteRule
^access/subject/del/([0-9]*)/?$ modules/panel/subject.php?act=del&id=$1
[L,QSA]
RewriteRule ^access/subject/edit/([0-9]*)/?$
modules/panel/subject.php?act=edit&id=$1 [L,QSA]
RewriteRule
^access/subject/img/([0-9]*)/?$ modules/panel/subject.php?act=img&id=$1
[L,QSA]
RewriteRule ^access/support/?$ modules/panel/support.php
[L,QSA]
RewriteRule ^access/banned/?$ modules/panel/banned.php
[L,QSA]
RewriteRule ^access/banned/all/?$ modules/panel/banned.php?act=all
[L,QSA]
RewriteRule ^access/banned/search/?$
modules/panel/banned.php?act=search [L,QSA]
RewriteRule
^access/banned/view/?$ modules/panel/banned.php?act=view
[L,QSA]
RewriteRule ^access/banned/block/([0-9]*)/?$
modules/panel/banned.php?act=block&id=$1 [L,QSA]
RewriteRule
^access/banned/delete/([0-9]*)/?$
modules/panel/banned.php?act=delete&id=$1 [L,QSA]
RewriteRule
^access/abuse/?$ modules/panel/abuse.php [L,QSA]
RewriteRule
^access/abuse/view/([0-9]*)/?$ modules/panel/abuse.php?act=view&id=$1
[L,QSA]
RewriteRule ^access/base/?$ modules/panel/base.php
[L,QSA]
RewriteRule ^access/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
^access/giveaway/?$ modules/panel/giveaway.php [L,QSA]
RewriteRule
^access/mobs/?$ modules/panel/mobs.php [L,QSA]
RewriteRule
^access/addmob/?$ modules/panel/addmobs.php [L,QSA]
RewriteRule
^access/mobs/edit/([0-9]*)/?$ modules/panel/mobs.php?case=edit&id=$1
[L,QSA]
RewriteRule ^access/mobs/delete/([0-9]*)/?$
modules/panel/mobs.php?case=delete&id=$1 [L,QSA]
RewriteRule
^access/alliances/?$ modules/panel/alliances.php [L,QSA]
RewriteRule
^access/alliances/([0-9]*)/edit/?$
modules/panel/alliances.php?case=edit&id=$1 [L,QSA]
RewriteRule
^access/alliances/([0-9]*)/edit/yes/?$
modules/panel/alliances.php?case=edit&id=$1&edit
[L,QSA]
RewriteRule ^access/alliances/([0-9]*)/edit/delete/?$
modules/panel/alliances.php?case=edit&id=$1&delete
[L,QSA]
RewriteRule ^access/alliances/([0-9]*)/edit/delete/yes/?$
modules/panel/alliances.php?case=edit&id=$1&delete&yes
[L,QSA]
RewriteRule ^access/alliances/([0-9]*)/edit/leader/?$
modules/panel/alliances.php?case=leader&id=$1& [L,QSA]
RewriteRule
^access/alliances/([0-9]*)/edit/leader/yes/?$
modules/panel/alliances.php?case=leader&id=$1&change
[L,QSA]
RewriteRule ^access/mail/?$ modules/panel/mail.php
[L,QSA]
RewriteRule ^access/mail/read([0-9]*)/?$
modules/panel/mail.php?case=read&id=$1 [L,QSA]
RewriteRule
^access/functions/?$ modules/panel/functions.php [L,QSA]
RewriteRule
^access/logs/?$ modules/panel/log.php [L,QSA]
RewriteRule
^access/logs/users?$ modules/panel/log.php?act=users [L,QSA]
RewriteRule
^access/logs/subject?$ modules/panel/log.php?act=subject
[L,QSA]
RewriteRule ^access/logs/block?$ modules/panel/log.php?act=block
[L,QSA]
RewriteRule ^access/logs/support?$
modules/panel/log.php?act=support [L,QSA]
RewriteRule ^access/logs/abuse?$
modules/panel/log.php?act=abuse [L,QSA]
RewriteRule ^access/logs/other?$
modules/panel/log.php?act=other [L,QSA]
RewriteRule ^access/users/all?$
modules/panel/users.php?act=all [L,QSA]
RewriteRule ^access/users/adm?$
modules/panel/users.php?act=adm [L,QSA]
RewriteRule ^access/users/search?$
modules/panel/users.php?act=search [L,QSA]
RewriteRule ^access/users/view?$
modules/panel/users.php?act=view [L,QSA]
RewriteRule
^access/edit/([0-9]*)/?$ modules/panel/users.php?act=edit&id=$1
[L,QSA]
RewriteRule ^access/delete/([0-9]*)/?$
modules/panel/users.php?act=delete&id=$1 [L,QSA]
RewriteRule
^access/delete/([0-9]*)/yes/?$
modules/panel/users.php?act=delete&id=$1&yes [L,QSA]
RewriteRule
^access/ipban/?$ modules/panel/ipban.php [L,QSA]
RewriteRule
^access/uaban/?$ modules/panel/uaban.php [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/?$ modules/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]*)/reply/([0-9]*)/?$
modules/forum/theme.php?section=$1&theme=$2&reply=$3
[L,QSA]
RewriteRule
^forum/([0-9]*)/theme([0-9]*)/addComment/reply/([0-9]*)/?$
modules/forum/theme.php?section=$1&theme=$2&reply=$3&addcomment
[L,QSA]
RewriteRule ^forum/([0-9]*)/theme([0-9]*)/edit/?$
modules/forum/edit.php?section=$1&theme=$2 [L,QSA]
RewriteRule
^forum/([0-9]*)/theme([0-9]*)/edit/yes/?$
modules/forum/edit.php?section=$1&theme=$2&edit
[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 ^potions/?$ modules/vip.php [L,QSA]
RewriteRule
^potions/buy([0-9]*)/?$ modules/vip.php?buy&type=$1
[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]*)/?$ modules/mail/new.php?id=$1
[L,QSA]
RewriteRule ^mail/new/([0-9]*)/yes?$
modules/mail/new.php?id=$1&yes [L,QSA]
RewriteRule
^mail/dialog/([0-9]*)/?$ modules/mail/dialog.php?id=$1 [L,QSA]
RewriteRule
^mail/dialog/([0-9]*)/send?$ modules/mail/dialog.php?id=$1&send
[L,QSA]
RewriteRule ^mail/friends/?$ modules/mail/friends.php
[L,QSA]
RewriteRule ^mail/friends/add?$ modules/mail/addfriend.php
[L,QSA]
RewriteRule ^mail/friends/del/([0-9]*)/?$
modules/mail/friends.php?del&id=$1 [L,QSA]
RewriteRule
^mail/blacklist/?$ modules/mail/blacklist.php [L,QSA]
RewriteRule
^mail/blacklist/add?$ modules/mail/addblacklist.php [L,QSA]
RewriteRule
^mail/blacklist/del/([0-9]*)/?$ modules/mail/blacklist.php?del&id=$1
[L,QSA]
#Пещеры
RewriteRule ^caves/?$ modules/caves.php
[L,QSA]
RewriteRule ^caves/attack/?$ modules/caves.php?attack
[L,QSA]
#Сумка
RewriteRule ^bag/?$ modules/bag.php [L,QSA]
#Поле
боя
RewriteRule ^battleground/?$ modules/battleground/index.php
[L,QSA]
RewriteRule ^battleground/enter/?$
modules/battleground/index.php?enter [L,QSA]
RewriteRule
^battleground/leave/?$ modules/battleground/index.php?leave
[L,QSA]
RewriteRule ^battleground/battle/?$ modules/battleground/battle.php
[L,QSA]
RewriteRule ^battleground/battle/attack/?$
modules/battleground/battle.php?attack [L,QSA]
RewriteRule
^battleground/battle/dodge/?$ modules/battleground/battle.php?dodge
[L,QSA]
RewriteRule ^battleground/result/?$ modules/battleground/result.php
[L,QSA]
#Рейтинг
RewriteRule ^online/?$ modules/rating/online.php
[L,QSA]
RewriteRule ^noalliance/?$ modules/rating/noalliance.php
[L,QSA]
RewriteRule ^rating/?$ modules/rating/index.php [L,QSA]
RewriteRule
^rating/level/?$ modules/rating/level.php [L,QSA]
RewriteRule
^rating/battleground/?$ modules/rating/battleground.php [L,QSA]
RewriteRule
^rating/stats/?$ modules/rating/stats.php
[L,QSA]
#Окрестности
RewriteRule ^locations/?$
modules/locations/index.php [L,QSA]
RewriteRule ^locations/([0-9]*)/?$
modules/locations/location.php?id=$1 [L,QSA]
RewriteRule
^locations/([0-9]*)/mob-info-([0-9]*)/?$
modules/locations/mob_info.php?id=$1&mob_id=$2 [L,QSA]
RewriteRule
^locations/([0-9]*)/attack-([0-9]*)/?$
modules/locations/location.php?id=$1&mob_id=$2&attack
[L,QSA]
RewriteRule ^locations/([0-9]*)/battle/?$
modules/locations/battle.php?id=$1 [L,QSA]
RewriteRule
^locations/([0-9]*)/battle/attack/?$
modules/locations/battle.php?id=$1&attack
[L,QSA]
#Альянсы
RewriteRule ^alliance/?$ modules/alliance/index.php
[L,QSA]
RewriteRule ^alliance/my/?$ modules/alliance/my.php
[L,QSA]
RewriteRule ^alliance/create/?$ modules/alliance/create.php
[L,QSA]
RewriteRule ^alliance/list/?$ modules/alliance/list.php
[L,QSA]
RewriteRule ^alliance/journal/?$ modules/alliance/journal.php
[L,QSA]
RewriteRule ^alliance/altar/?$ modules/alliance/altar.php
[L,QSA]
RewriteRule ^alliance/chat/?$ modules/alliance/chat.php
[L,QSA]
RewriteRule ^alliance/dissolve/?$ modules/alliance/my.php?dissolve
[L,QSA]
RewriteRule ^alliance/chest/?$ modules/alliance/chest.php
[L,QSA]
RewriteRule ^alliance/dissolve/yes/?$
modules/alliance/my.php?dissolve&yes [L,QSA]
RewriteRule
^alliance/exit/?$ modules/alliance/my.php?exit [L,QSA]
RewriteRule
^alliance/exit/yes/?$ modules/alliance/my.php?exit&yes
[L,QSA]
RewriteRule ^alliance/coffers/?$ modules/alliance/coffers.php
[L,QSA]
RewriteRule ^alliance/invite/([0-9]*)/?$
modules/alliance/my.php?invite&id=$1 [L,QSA]
RewriteRule
^alliance/info/([0-9]*)/?$ modules/alliance/info.php?id=$1
[L,QSA]
RewriteRule ^alliance/invites/?$
modules/alliance/invites.php
RewriteRule
^alliance/invites/([0-9]*)/accept/?$
modules/alliance/invites.php?accept&invite_id=$1 [L,QSA]
RewriteRule
^alliance/invites/([0-9]*)/decline/?$
modules/alliance/invites.php?decline&invite_id=$1 [L,QSA]
RewriteRule
^alliance/manage/([0-9]*)/?$ modules/alliance/manage.php?id=$1
[L,QSA]
RewriteRule ^alliance/manage/([0-9]*)/up/?$
modules/alliance/manage.php?id=$1&up [L,QSA]
RewriteRule
^alliance/manage/([0-9]*)/down/?$
modules/alliance/manage.php?id=$1&down [L,QSA]
RewriteRule
^alliance/manage/([0-9]*)/kick/?$
modules/alliance/manage.php?id=$1&kick [L,QSA]
RewriteRule
^alliance/forum/([0-9]*)/?$ modules/alliance/forum/index.php?alliance=$1
[L,QSA]
RewriteRule ^alliance/forum/([0-9]*)/createSection/?$
modules/alliance/forum/addsection.php?alliance=$1 [L,QSA]
RewriteRule
^alliance/forum/([0-9]*)/createSection/confirm/?$
modules/alliance/forum/addsection.php?alliance=$1&confirm
[L,QSA]
RewriteRule ^alliance/forum/([0-9]*)/([0-9]*)/?$
modules/alliance/forum/section.php?alliance=$1§ion=$2
[L,QSA]
RewriteRule ^alliance/forum/([0-9]*)/([0-9]*)/addTheme?$
modules/alliance/forum/addtheme.php?alliance=$1§ion=$2
[L,QSA]
RewriteRule ^alliance/forum/([0-9]*)/([0-9]*)/addTheme/confirm/?$
modules/alliance/forum/addtheme.php?alliance=$1§ion=$2&addtheme
[L,QSA]
RewriteRule ^alliance/forum/([0-9]*)/([0-9]*)/theme([0-9]*)/?$
modules/alliance/forum/theme.php?alliance=$1§ion=$2&theme=$3
[L,QSA]
RewriteRule
^alliance/forum/([0-9]*)/([0-9]*)/theme([0-9]*)/addComment/?$
modules/alliance/forum/theme.php?alliance=$1§ion=$2&theme=$3&addcomment
[L,QSA]
#Восстановление пароля
RewriteRule ^recovery/?$
modules/recovery/index.php [L,QSA]
RewriteRule ^recovery/([A-Za-z0-9]*)/?$
modules/recovery/recovery.php?code=$1 [L,QSA]
RewriteRule
^recovery/([A-Za-z0-9]*)/yes/?$
modules/recovery/recovery.php?code=$1&recovery
[L,QSA]
#Кузница
RewriteRule ^forge/?$ modules/forge/index.php
[L,QSA]
RewriteRule ^forge/slot_upgrade/?$ modules/forge/slot_upgrade.php
[L,QSA]
RewriteRule ^forge/slot_upgrade/([A-Za-z]*)/upgrade/?$
modules/forge/slot_upgrade.php?type=$1&upgrade [L,QSA]
RewriteRule
^forge/stones/?$ modules/forge/stones/index.php [L,QSA]
RewriteRule
^forge/stones/([0-9]*)/?$ modules/forge/stones/item.php?item=$1
[L,QSA]
RewriteRule ^forge/stones/([0-9]*)/set/([0-9]*)/?$
modules/forge/stones/item.php?item=$1&stone=$2&set
[L,QSA]
RewriteRule ^forge/stones/([0-9]*)/set/([0-9]*)/yes/?$
modules/forge/stones/item.php?item=$1&stone=$2&set&yes
[L,QSA]
RewriteRule ^forge/stones/([0-9]*)/del/?$
modules/forge/stones/delete.php?item=$1 [L,QSA]
RewriteRule
^forge/stones/([0-9]*)/del/([0-9]*)/?$
modules/forge/stones/delete.php?item=$1&stone=$2&del
[L,QSA]
RewriteRule ^forge/stones/([0-9]*)/del/([0-9]*)/yes/?$
modules/forge/stones/delete.php?item=$1&stone=$2&del&yes
[L,QSA]
#Захват
RewriteRule ^capture/?$ modules/capture/index.php
[L,QSA]
RewriteRule ^capture/enter/?$ modules/capture/index.php?enter
[L,QSA]
RewriteRule ^capture/leave/?$ modules/capture/index.php?leave
[L,QSA]
RewriteRule ^capture/battle/?$ modules/capture/battle.php
[L,QSA]
#Стартовый квест
RewriteRule ^tutorial/([0-9]*)/?$
modules/tutorial/$1.php [L,QSA]
#Кампания
RewriteRule ^campaign/?$
modules/campaign.php [L,QSA]
RewriteRule ^campaign/complete/?$
modules/campaign.php?complete [L,QSA]
#Ежедневные
задания
RewriteRule ^tasks/?$ modules/quest.php
[L,QSA]
#Платёжная система
RewriteRule ^payment/?$
modules/payment/buy.php [L,QSA]
RewriteRule ^payment/([0-9]*)/?$
modules/payment/buy.php?id=$1&pay [L,QSA]
RewriteRule
^payment/result/?$ modules/payment/result.php [L,QSA]
RewriteRule
^payment/fail/?$ modules/payment/error.php [L,QSA]
RewriteRule
^payment/success/?$ modules/payment/ok.php
[L,QSA]
#Реф.система
RewriteRule ^referal/?$ modules/referal.php
[L,QSA]
#Уведомления
RewriteRule ^notifications/?$
modules/notifications.php [L,QSA]
#Мероприятие
RewriteRule
^sell/?$ modules/sell.php [L,QSA]
RewriteRule ^sell/yes/?$
modules/sell.php?yes [L,QSA]
RewriteRule ^sell/no/?$ modules/sell.php?no
[L,QSA]
#Крафт
RewriteRule ^craft/?$ modules/craft.php
[L,QSA]
#Рейды
RewriteRule ^raids/?$ modules/raids/index.php
[L,QSA]
RewriteRule ^raids/new/?$ modules/raids/newraid.php
[L,QSA]
RewriteRule ^raids/list/?$ modules/raids/list.php
[L,QSA]
RewriteRule ^borrowing/?$ modules/borrowing.php [L,QSA]
RewriteRule
^arena/?$ modules/arena.php [L,QSA]
RewriteRule ^camp$ modules/camp.php
[L,QSA]
RewriteRule ^battles/?$ modules/battles.php
[L,QSA]
#Аватары
RewriteRule ^avatar/?$ modules/avatar.php
[L,QSA]
RewriteRule ^avatar/install/([0-9]*)/?$
modules/avatar.php?id=$1&install [L,QSA]
RewriteRule ^avatar/restore/?$
modules/avatar.php?restore [L,QSA]
#Навыки
RewriteRule ^skills/?$
modules/skills/index.php [L,QSA]
RewriteRule ^skills/([0-9]*)/?$
modules/skills/info.php?skill=$1 [L,QSA]
RewriteRule ^skills/([0-9]*)/up/?$
modules/skills/info.php?skill=$1&up
[L,QSA]
#Подземелья
RewriteRule ^dungeon/?$
modules/dungeon/index.php [L,QSA]
RewriteRule ^dungeon/info/([0-9]*)/?$
modules/dungeon/dungeon.php?id=$1 [L,QSA]
RewriteRule
^dungeon/info/([0-9]*)/start/?$ modules/dungeon/dungeon.php?id=$1&start
[L,QSA]
RewriteRule ^dungeon/info/([0-9]*)/list/?$
modules/dungeon/list.php?id=$1 [L,QSA]
RewriteRule
^dungeon/info/([0-9]*)/list/([0-9]*)/enter/?$
modules/dungeon/list.php?id=$1&btl=$2&enter [L,QSA]
RewriteRule
^dungeon/battle/([0-9]*)/?$ modules/dungeon/prepare.php?id=$1
[L,QSA]
RewriteRule ^dungeon/battle/([0-9]*)/sendInvite/?$
modules/dungeon/prepare.php?id=$1&sendInvite [L,QSA]
RewriteRule
^dungeon/battle/([0-9]*)/leave/?$
modules/dungeon/prepare.php?id=$1&leave [L,QSA]
RewriteRule
^dungeon/battle/([0-9]*)/leave/yes/?$
modules/dungeon/prepare.php?id=$1&leave&yes [L,QSA]
RewriteRule
^dungeon/battle/([0-9]*)/start/?$
modules/dungeon/prepare.php?id=$1&start [L,QSA]
RewriteRule
^dungeon/battle/([0-9]*)/start/yes/?$
modules/dungeon/prepare.php?id=$1&start&yes [L,QSA]
RewriteRule
^dungeon/battle/([0-9]*)/battle/?$ modules/dungeon/battle.php?id=$1
[L,QSA]
RewriteRule ^dungeon/battle/([0-9]*)/battle/rand/?$
modules/dungeon/battle.php?id=$1&rand [L,QSA]
RewriteRule
^dungeon/battle/([0-9]*)/battle/attack/?$
modules/dungeon/battle.php?id=$1&attack [L,QSA]
RewriteRule
^dungeon/battle/([0-9]*)/battle/attack/([0-9]*)/?$
modules/dungeon/battle.php?id=$1&attack=$2 [L,QSA]
RewriteRule
^dungeon/battle/([0-9]*)/battle/arrow/?$
modules/dungeon/battle.php?id=$1&arrow [L,QSA]
RewriteRule
^dungeon/battle/([0-9]*)/battle/heal/?$
modules/dungeon/battle.php?id=$1&heal [L,QSA]
RewriteRule
^dungeon/result/([0-9]*)/?$ modules/dungeon/result.php?id=$1
[L,QSA]
#Тренировка
RewriteRule ^train/?$ modules/train.php
[L,QSA]
RewriteRule ^train/([0-9]*)/?$ modules/train.php?train&type=$1
[L,QSA]
#Башни
RewriteRule ^towers/?$ modules/towers/index.php
[L,QSA]
RewriteRule ^towers/wizard/?$ modules/towers/wizard.php
[L,QSA]
RewriteRule ^towers/([A-Za-z0-9]*)/?$
modules/towers/helper.php?type=$1 [L,QSA]
RewriteRule
^towers/([A-Za-z0-9]*)/buy/?$ modules/towers/helper.php?type=$1&buy
[L,QSA]
RewriteRule ^towers/([A-Za-z0-9]*)/up/?$
modules/towers/helper.php?type=$1&up [L,QSA]
RewriteRule
^towers/([A-Za-z0-9]*)/get/?$ modules/towers/helper.php?type=$1&get
[L,QSA]
RewriteRule ^towers/wizard/upgrade/?$
modules/towers/wizard.php?upgrade [L,QSA]
RewriteRule ^trip/?$
modules/campaign/index.php [L,QSA]
RewriteRule ^trip/found/?$
modules/campaign/found.php [L,QSA]
RewriteRule ^trip/battle/?$
modules/campaign/battle.php [L,QSA]
RewriteRule ^trip/result/?$
modules/campaign/result.php [L,QSA]
#Вторжение
демонов
RewriteRule ^demons/?$ modules/demons/index.php
[L,QSA]
RewriteRule ^demons/([A-Za-z0-9]*)/?$ modules/demons/$1.php
[L,QSA]
RewriteRule ^demons/last/?$ modules/demons/last.php
[L,QSA]
#Манекен
RewriteRule
^model/([0-9]*)/([0-9]*)/([0-9]*)/([0-9]*)/([0-9]*)/([0-9]*)/([0-9]*)/([0-9]*)/([0-9]*)/?$
modules/model.php?sex=$1&h=$2$s=$3&c=$4&g=$5&o=$6&m=$7&l=$8&b=$9
[L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}
!-d
RewriteRule .*\.(jpe?g|gif|png)$ - [F]
AddDefaultCharset utf-8
AddType
'text/html; charset=utf-8' .html .htm .shtml