34 lines
1.2 KiB
ApacheConf
34 lines
1.2 KiB
ApacheConf
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
|
|
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteBase /
|
|
|
|
RewriteRule error/(.*)\.html$ index.php?task=error&sub=$1
|
|
|
|
RewriteRule ^np/images/(.*)$ /modules/nickpage/images/$1 [L,NC]
|
|
RewriteRule np/(.*) index.php?task=nickpage&user=$1
|
|
RewriteRule ^register/(.*)? register.php?regstring=$1
|
|
RewriteRule ^avatar/(.*)? index.php?task=rp&sum=avatar&id=$1
|
|
RewriteRule ^reports/(.*)? index.php?task=chat&sub=report&uid=$1
|
|
RewriteRule ^reports/? index.php?task=chat&sub=report
|
|
RewriteRule ^chat/in? index.php?task=chat&sub=in
|
|
RewriteRule ^chat? index.php?task=chat
|
|
RewriteRule ^t/(.*\.html?)$ index.php?task=text&url=$1 [L]
|
|
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 ^guidelines.html$ /text/rules.html [R=301,L]
|
|
|
|
|
|
</IfModule>
|