PDA

View Full Version : Custom 404 Error page


progravix
2-2-04, 10:41 PM
I have setup the .htaccess file with the following code. This is the only line within the file.

ErrorDocument 404 /errorpages/404.html

Now, it works fine if you try to access say: http://www.progravix.com/file_not_here/

But when you try to access: http://www.progravix.com/file/not/here all the images are broken, and none of the links work.

Also, http://www.progravix.com/proof/qwo works, but http://www.progravix.com/proof/qwo/ doesn't

What's up?

Rick_E
2-2-04, 10:53 PM
Try providing the full path to the error page...

ErrorDocument 404 http://progravix.com/errorpages/404.html

or

ErrorDocument 404 http://www.progravix.com/errorpages/404.html

progravix
2-2-04, 11:31 PM
That did the trick. It seems like I tried that before but it didn't work. Thanks!

B&T
2-3-04, 12:24 AM
You should not need the full url. All of mine are using the relative address. I suspect there is something else in play here.