php_value register_globals on
php_value magic_quotes_gpc on
php_value session.use_trans_sid 1
php_value session.cookie_lifetime 0
php_value error_reporting 7
php_value safe_mode_gid 1
php_value magic_quotes_sybase 0
php_value allow_url_fopen 0
AddDefaultCharset UTF-8
Options -Indexes
DirectoryIndex index.php
RewriteEngine On
php_value register_globals On
php_value date.timezone "Asia/Tbilisi"

# JustHost
# php_value variables_order "EGPCS"
# php_value variables_order "C"
# php_value gpc_order "ECS"
RewriteRule ^(.*)\.[\d]{10}\.(css|js)$ $1.$2 [L]
RewriteRule ^admin/searchuser$ index.php?P4M3R4IK=admin&act=searchuser [L,QSA]
RewriteRule ^admin/users$ index.php?P4M3R4IK=admin&act=users[L,QSA]
RewriteRule ^admin/searchuser/([0-9]*)$ index.php?P4M3R4IK=admin&act=searchuser&page=$1 [L,QSA]

RewriteRule ^license$ index.php?P4M3R4IK=license [L,QSA]
RewriteRule ^license/$ index.php?P4M3R4IK=license [L,QSA]
RewriteRule ^yukle/$ index.php?P4M3R4IK=yukle [L,QSA]
RewriteRule ^license_top$ index.php?P4M3R4IK=license_top [L,QSA]

RewriteRule ^lang_az.xhtml$ index.php?l=1&lan=azerbaijan [L,QSA]
RewriteRule ^lang_ru.xhtml$ index.php?l=1&lan=russian [L,QSA]

RewriteRule ^page_([0-9]*).xhtml$ index.php?page=$1 [L,QSA]
RewriteRule ^([0-9]*)$ index.php?page=$1 [L,QSA]

RewriteRule ^pay-with-card$ m10.php [L,QSA]

RewriteRule ^up$ bySavik.php [L,QSA]

RewriteRule ^default$ index.php [L,QSA]
RewriteRule ^setting/editpass$ index.php?P4M3R4IK=setting&act=pass [L,QSA]
RewriteRule ^setting/profile$ index.php?P4M3R4IK=setting&act=profile [L,QSA]
RewriteRule ^setting$ index.php?P4M3R4IK=setting [L,QSA]
RewriteRule ^registration$ index.php?P4M3R4IK=registration [L,QSA]
RewriteRule ^exit$ index.php?P4M3R4IK=exit [L,QSA]
RewriteRule ^online$ index.php?P4M3R4IK=online [L,QSA]
RewriteRule ^online/$ index.php?P4M3R4IK=online [L,QSA]
RewriteRule ^online/([0-9]*)$ index.php?P4M3R4IK=online&page=$1 [L,QSA]
RewriteRule ^online/([0-9]*)/$ index.php?P4M3R4IK=online&page=$1 [L,QSA]
RewriteRule ^partner$ index.php?P4M3R4IK=partner [L,QSA]
RewriteRule ^partner/([0-9]*)$ index.php?P4M3R4IK=partner&page=$1 [L,QSA]
RewriteRule ^partner/([0-9]*)/$ index.php?P4M3R4IK=partner&page=

RewriteRule ^azercell$ index.php?P4M3R4IK=azercell [L,QSA]

RewriteRule ^panel$ index.php?P4M3R4IK=panel [L,QSA]

RewriteRule ^azercell_mebleg$ index.php?P4M3R4IK=azercell_mebleg [L,QSA]
RewriteRule ^qazanc$ index.php?P4M3R4IK=qazanc [L,QSA]


RewriteRule ^admin$ index.php?P4M3R4IK=admin [L,QSA]
RewriteRule ^profile$ index.php?P4M3R4IK=profile [L,QSA]
RewriteRule ^profile/([0-9]*)$ index.php?P4M3R4IK=profile&id=$1 [L,QSA]

RewriteRule ^contact$ index.php?P4M3R4IK=contact [L,QSA]
RewriteRule ^error$ index.php?P4M3R4IK=error [L,QSA]
RewriteRule ^pass$ index.php?P4M3R4IK=pass [L,QSA]
RewriteRule ^admin/balans/([0-9]*)$ index.php?P4M3R4IK=admin&act=balans&id=$1 [L,QSA]


ErrorDocument 401 http://pay.saytim.biz/error
ErrorDocument 402 http://pay.saytim.biz/error
ErrorDocument 403 http://pay.saytim.biz/error
ErrorDocument 404 http://pay.saytim.biz/error
ErrorDocument 500 http://pay.saytim.biz/error
