Thanks for this nice mod.
Installed it on my test server and the error pages look very nice.
However I have a small issue:
I followed your instructions for installing and changing the .htaccess file.
When I go to
Code:
http://mydomain.com/~tcmasorg/forums/401.php
the page shows up without any problems
but then after a few seconds I get automatically redirected to a blank page and I saw in my browser address:
Code:
http://mydomain.com/~tcmasorg/forums/
Is this normal or did I do something wrong with the .htaccess file?
for reference here is my .htaccess file:
Code:
RewriteEngine On
RewriteRule ^Classifieds/([^/]*)/ ./classifieds.php?do=main&catid=$1 [L,NC]
RewriteRule ^For-Sale/([^/]*)/ ./classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^Wanted/([^/]*)/ ./classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^Auction/([^/]*)/ ./classifieds.php?do=viewitem&itemid=$1 [L,NC]
RewriteRule ^Seller/([^/]*)/ ./classifieds.php?do=browseuser&userid=$1 [L,NC]
RewriteRule ^Archives/([^/]*)/ ./classifieds.php?do=viewarchived&itemid=$1 [L,NC]
# Send hardcoded ipa scores to arcade instead
RewriteCond %{QUERY_STRING} act=Arcade [OR]
RewriteCond %{QUERY_STRING} autocom=arcade
RewriteRule ^index.php arcade.php [L,QSA]
ErrorDocument 400 /forums/400.php
ErrorDocument 401 /forums/401.php
ErrorDocument 403 /forums/403.php
ErrorDocument 404 /forums/404.php
ErrorDocument 500 /forums/500.php
Thanks for any help