DirectoryIndex index.php
#Options All -Indexes
AddDefaultCharset utf-8

ErrorDocument 404 /404.php
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^imageOther/([0-9]+) count/index.php?id=$1&size=small [L]
RewriteRule ^go/([0-9]+) in.php?id=$1 [L]
RewriteRule ^out/([0-9]+) out.php?id=$1 [L]
RewriteRule ^online/([0-9]+) infos.php?act=online&id=$1 [L]
RewriteRule ^hours/([0-9]+) infos.php?act=hours&id=$1 [L]
RewriteRule ^stats/([0-9]+) infos.php?id=$1 [L]
RewriteRule ^reg reg.php [L]
RewriteRule ^stat stats.php [L]
RewriteRule ^ban ban.php [L]
RewriteRule ^onl online.php [L]
RewriteRule ^auth auth.php [L]
RewriteRule ^pass password.php [L]
RewriteRule ^rules rules.php [L]
RewriteRule ^faq faq.php [L]
RewriteRule ^contacts contacts.php [L]
RewriteRule ^cabinet/pl office.php?act=platforms [L]
RewriteRule ^cabinet/add office.php?act=add_platform [L]
RewriteRule ^cabinet/edit/([0-9]+) office.php?act=edit_platform&id=$1 [L]
RewriteRule ^cabinet/code/([0-9]+) office.php?act=code&id=$1 [L]
RewriteRule ^cabinet office.php [L]
RewriteRule ^cat/([0-9]+) cat.php?act=view&id=$1 [L]
RewriteRule ^cat cat.php [L]
RewriteRule ^exit logout.php [L]
RewriteRule ^captha.jpg captha.php [L]
RewriteRule ^([0-9]+).js js.php?id=$1[L]

