View file top-kat/.htaccess

File size: 2.04Kb
RewriteEngine on
RewriteBase /
RewriteRule ^in/([0-9]+).php in.php?id=$1 [L]
RewriteRule ^out/([0-9]+).php out.php?id=$1 [L]
RewriteRule ^captha.jpg captha.php [L]
RewriteRule ^settings.php$ office.php?act=settings [L]
RewriteRule ^secure.php$ office.php?act=secure [L]
RewriteRule ^platforms.php$ office.php?act=platforms [L]
RewriteRule ^code.php$ office.php?act=code [L]
RewriteRule ^graphic.php$ office.php?act=graphic [L]
RewriteRule ^add_platform.php$ office.php?act=add_platform [L]
RewriteRule ^edit_platform_([0-9]+).php office.php?act=edit_platform&id=$1 [L]
RewriteRule ^del_platform_([0-9]+).php office.php?act=del_platform&id=$1 [L]
RewriteRule ^del_platform_([0-9]+)_ok.php office.php?act=del_platform&id=$1&ok [L]
RewriteRule ^graphic_([0-9]+).php office.php?act=graphic&id=$1 [L]
RewriteRule ^code_([0-9]+).php office.php?act=code&id=$1 [L]
RewriteRule ^office_(.*)_sort_(.*).php office.php?act=$1&sort=$2 [L]
RewriteRule ^sort_(.*).php index.php?sort=$1 [L]
RewriteRule ^info/([0-9]+).php infos.php?id=$1 [L]
RewriteRule ^info/online_(.*).php infos.php?act=online&id=$1 [L]
RewriteRule ^info/days_(.*).php infos.php?act=days&id=$1 [L]
RewriteRule ^info/hours_(.*).php infos.php?act=hours&id=$1 [L]
RewriteRule ^info/ip_(.*).php infos.php?act=ip&id=$1 [L]
RewriteRule ^cat_(.*).php cat.php?act=view&id=$1 [L]
RewriteRule ^cat/(.*)/sort/(.*).php cat.php?act=view&id=$1&sort=$2 [L]
RewriteRule ^ban_(.*).php ban.php?sort=$1 [L]
RewriteRule ^add_platform_2.php office.php?act=add_platform&mod=2 [L]
RewriteRule ^edit_platformm(.*).php office.php?act=edit_platform&mod=2&id=$1 [L]
RewriteRule ^check_platform_([0-9]+)_ok.php office.php?act=check_platform&id=$1&ok [L]
RewriteRule ^check_platform_([0-9]+).php office.php?act=check_platform&id=$1 [L]
ErrorDocument 400 /error.php?err=400
ErrorDocument 401 /error.php?err=401
ErrorDocument 402 /error.php?err=402
ErrorDocument 403 /error.php?err=403
ErrorDocument 404 /error.php?err=404
ErrorDocument 500 /error.php?err=500
ErrorDocument 502 /error.php?err=502
DirectoryIndex index.php
Options All -Indexes
AddDefaultCharset utf-8