PDA

View Full Version : Custom Error Page not working


itembazaar
1-31-04, 11:23 AM
I got this code from the web and it should work, but it doesn't.
This is my full code, does anybody know why this doesn't work?



ErrorDocument 505 /http://www.itembazaar.com/pages/error.html
ErrorDocument 408 /http://www.itembazaar.com/pages/error.html
ErrorDocument 400 /http://www.itembazaar.com/pages/error.html
ErrorDocument 401 /http://www.itembazaar.com/pages/error.html
ErrorDocument 500 /http://www.itembazaar.com/pages/error.html
ErrorDocument 403 /http://www.itembazaar.com/pages/error.html
ErrorDocument 501 /http://www.itembazaar.com/pages/error.html
ErrorDocument 404 /http://www.itembazaar.com/pages/error.html
ErrorDocument 502 /http://www.itembazaar.com/pages/error.html
ErrorDocument 405 /http://www.itembazaar.com/pages/error.html
ErrorDocument 503 /http://www.itembazaar.com/pages/error.html
ErrorDocument 301 /http://www.itembazaar.com/pages/error.html
ErrorDocument 504 /http://www.itembazaar.com/pages/error.html
ErrorDocument 415 /http://www.itembazaar.com/pages/error.html
ErrorDocument 302 /http://www.itembazaar.com/pages/error.html





www.itembazaar.com

tbonekkt
1-31-04, 11:26 AM
Take out the / before http://

stevel
1-31-04, 12:18 PM
Actually, take out everything before /pages. The document URI should start with /pages.

tbonekkt
1-31-04, 12:21 PM
I always use the full URI for the reason that without it subdirectories will look for htdocs/subdir/pages/ rather than the one location at htdocs/pages/

itembazaar
1-31-04, 12:55 PM
Worked great thank you so much!!!

itembazaar
1-31-04, 12:57 PM
Umm I just noticed you guys have links in your signatures.
What do I do to get a link in mine?

tbonekkt
1-31-04, 12:59 PM
Use vB code: http://forum.powweb.com/misc.php?s=&action=bbcode

itembazaar
1-31-04, 01:19 PM
thx again, this worked wonderfully.

tbonekkt
1-31-04, 01:20 PM
Glad I could help.

stevel
1-31-04, 06:06 PM
Originally posted by tbonekkt
I always use the full URI for the reason that without it subdirectories will look for htdocs/subdir/pages/ rather than the one location at htdocs/pages/ It won't if you have the leading slash as I suggested. I do this. Probably doesn't really matter, though. The net effect is the same.