making nickpages work and more

This commit is contained in:
genuineparts 2025-06-04 22:19:12 +02:00
parent 3a7f36261d
commit b46c7941db
8 changed files with 360 additions and 329 deletions

View file

@ -13,6 +13,7 @@ RewriteBase /
RewriteRule error/(.*)\.html$ index.php?task=error&sub=$1
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 ^chat/reports/(.*)? index.php?task=chat&sub=report&uid=$1
@ -26,27 +27,5 @@ 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]
RewriteRule ^(.*\.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]
</IfModule>