php_flag display_errors on
php_value error_reporting 7
#php_value register_globals 0

#php_value magic_quotes_gpc 0
#php_value session.use_trans_sid 0
#php_value zlib.output_compression 4096
#php_value zlib.output_compression_level 5
#php_value arg_separator.output "&amp;"
#php_value session.use_trans_sid 0
#php_value session.cookie_lifetime 0
DirectoryIndex index.php
AddDefaultCharset UTF-8
Options -Indexes
#php_value error_reporting 0
#ErrorDocument 404 //404.php


#AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css
#BrowserMatch ^Mozilla/4 gzip-only-text/html
#BrowserMatch ^Mozilla/4.0[678] no-gzip
#BrowserMatch bMSIE !no-gzip !gzip-only-text/html



RewriteEngine on
RewriteBase /
RewriteRule ^start/?$ /starting.php [L,QSA]
RewriteRule ^bonus/?$ /bonus.php [L,QSA]
RewriteRule ^cave/?$ /cave.php [L,QSA]
RewriteRule ^user/?$ /user.php [L,QSA]
RewriteRule ^user/([0-9]*)/?$ /user.php?id=$1 [L,QSA]
RewriteRule ^kvest/?$ /kvest.php [L,QSA]
RewriteRule ^shop/?$ /shop.php [L,QSA]
RewriteRule ^shop/item/?$ /shop_item.php [L,QSA]
RewriteRule ^manekenRating/?$ /manekenRating.php [L,QSA]
RewriteRule ^chat/?$ /chat.php [L,QSA]
RewriteRule ^moder/?$ /moder.php [L,QSA]
RewriteRule ^forum/?$ /forum.php [L,QSA]
RewriteRule ^inv/?$ /inv.php [L,QSA]
RewriteRule ^artefact/?$ /artefact.php [L,QSA]
RewriteRule ^settings/?$ /settings.php [L,QSA]
RewriteRule ^contacts/?$ /contacts.php [L,QSA]
RewriteRule ^panel/?$ /panel/index.php [L,QSA]
RewriteRule ^support/?$ /support.php [L,QSA]
RewriteRule ^online/?$ /online.php [L,QSA]
RewriteRule ^invasion/?$ /invasion.php [L,QSA]
RewriteRule ^drakon/?$ /drakon.php [L,QSA]
RewriteRule ^coliseum/?$ /coliseum.php [L,QSA]
RewriteRule ^rating/?$ /rating.php [L,QSA]
RewriteRule ^clans/?$ /clans.php [L,QSA]
RewriteRule ^quest/?$ /quest.php [L,QSA]
RewriteRule ^arena/?$ /arena.php [L,QSA]
RewriteRule ^podzem/?$ /podzem.php [L,QSA]
RewriteRule ^ref/?$ /referal.php [L,QSA]
RewriteRule ^recovery/?$ /recovery.php [L,QSA]
RewriteRule ^exit/?$ /exit.php [L,QSA]
RewriteRule ^smitchy/?$ /smitchy.php [L,QSA]
RewriteRule ^runes/?$ /runes.php [L,QSA]
RewriteRule ^train/?$ /train.php [L,QSA]
RewriteRule ^premium/?$ /premium.php [L,QSA]
RewriteRule ^quest/esh/?$ /quest.php?act=esh [L,QSA]
RewriteRule ^clans/rating/?$ /clans.php?act=rating [L,QSA]
RewriteRule ^clan/([0-9]*)/?$ /clan.php?id=$1 [L,QSA]
RewriteRule ^clan/([0-9]*)/forum/?$ /clan_forum.php?id=$1 [L,QSA]
RewriteRule ^clan/forum/razdel/([0-9]*)/?$ /clan_forum.php?act=razdel&id=$1 [L,QSA]
RewriteRule ^support/adm/?$ /support.php?act=adm [L,QSA]
RewriteRule ^shop/item/cachestvo/([0-9]*)/?$ /shop_item.php?act=cachestvo&class=$1 [L,QSA]
RewriteRule ^shop/item/complect/([0-9]*)/?$ /shop_item.php?act=complect&id=$1 [L,QSA]
RewriteRule ^runes/item/([0-9]*)/?$ /runes.php?act=item&id=$1 [L,QSA]
RewriteRule ^shop/item/complect/item/([0-9]*)/?$ /shop_item.php?act=item&id=$1 [L,QSA]
RewriteRule ^forum/razdel/([0-9]*)/?$ /forum.php?act=razdel&id=$1 [L,QSA]
RewriteRule ^forum/topic/([0-9]*)/?$ /forum.php?act=topic&id=$1 [L,QSA]
RewriteRule ^forum/red_topic/([0-9]*)/?$ /forum.php?act=red_topic&id=$1 [L,QSA]
RewriteRule ^forum/new_topic/([0-9]*)/?$ /forum.php?act=new_topic&id=$1 [L,QSA]
RewriteRule ^item/([0-9]*)/?$ /item.php?id=$1 [L,QSA]