Options -Indexes ErrorDocument 400 /error/404.html ErrorDocument 401 /error/401.html ErrorDocument 403 /error/403.html ErrorDocument 404 /error/404.html ErrorDocument 500 /error/500.html ErrorDocument 503 /error/503.html RewriteEngine On RewriteBase / RewriteRule error/(.*)\.html$ index.php?task=error&sub=$1 RewriteRule ^register/(.*)? register.php?regstring=$1 RewriteRule ^avatar/(.*)? index.php?task=rp&sum=avatar&id=$1 RewriteRule ^chat/reports/(.*)? index.php?task=chat&sub=report&uid=$1 RewriteRule ^chat/in? index.php?task=chat&sub=in RewriteRule ^chat? index.php?task=chat RewriteRule create_char.html index.php?task=rp&sub=create RewriteRule chat.html index.php?task=chat RewriteRule my_chars.html index.php?task=rp&sub=chars [QSA,L] RewriteRule canon_chars.html index.php?task=rp&sub=canons [QSA,L] RewriteRule logs.html index.php?task=chat&sub=logs [QSA,L] RewriteRule private.html index.php?task=chat&sub=privatelogs [QSA,L] RewriteRule ^text/guidelines.html$ /text/rules.html [R=301,L] RewriteRule ^text/(.*\.html?)$ index.php?task=text&url=$1 [L] RewriteRule profile/(.*) index.php?task=rp&sub=show&name=$1 RewriteCond %{HTTP_HOST} ^chat\.coppertopia\.net$ RewriteRule ^in.html$ ?task=chat&sub=in [QSA,L] RewriteCond %{HTTP_HOST} ^chat\.coppertopia\.net$ RewriteRule ^$ ?task=chat [QSA,L] RewriteCond %{HTTP_HOST} ^chat\.coppertopia\.net$ RewriteRule ^online.html$ ?task=chat&sub=online [QSA,L] RewriteCond %{HTTP_HOST} ^chat\.coppertopia\.net$ RewriteRule ^style.css$ /modules/chat/style.css [QSA,L] RewriteCond %{HTTP_HOST} ^chat\.coppertopia\.net$ RewriteRule ^mobile.css$ /modules/chat/mobile.css [QSA,L] RewriteCond %{HTTP_HOST} ^logs\.coppertopia\.net$ RewriteRule ^user/(.*)/key/(.*)$ ?task=chat&sub=privatelogs&user=$1&key=$2 [QSA,L] RewriteCond %{HTTP_HOST} ^logs\.coppertopia\.net$ RewriteRule ^id/(.*)$ ?task=chat&sub=privatelogs&id=$1 [QSA,L] RewriteCond %{HTTP_HOST} ^logs\.coppertopia\.net$ RewriteRule ^pdf/(.*)$ ?task=chat&sub=privatelogs&id=$1&out=pdf [QSA,L] RewriteCond %{HTTP_HOST} ^logs\.coppertopia\.net$ RewriteRule ^user/(.*)$ ?task=chat&sub=privatelogs&user=$1 [QSA,L] RewriteCond %{HTTP_HOST} ^logs\.coppertopia\.net$ RewriteRule ^$ ?task=chat&sub=logs [QSA,L]