Error Message Problem

Error Message Problem

Posted by: chaddux
Posted on: 2006-10-10 11:44:00

I have been trying to set-up custom error messages for my domain but something is not working. For example, I'm trying to set it up for images.chaddux.com. I put a .htaccess file in the images folder that says:

Options -Indexes

ErrorDocument 403 /403.html
ErrorDocument 404 /404.html

For the 403 error, the custom page loads but the image on that page does not.
For the 404 error, I get the standard 404 error message, not my custom one.

The HTML and image files are there. I've also tried it on www.chaddux.com and it won't work there either.

Chad

Re: Error Message Problem

Posted by: sdayman
Posted on: 2006-10-10 17:25:00

I use files titled:
notfound.html (404)
missing.html (403)

and they work fine with images included.

-Scott

Re: Error Message Problem

Posted by: kchrist
Posted on: 2006-10-10 17:49:00

The custom 404 error looks fine from here:
http://images.chaddux.com/asdf

Re: Error Message Problem

Posted by: Raz2133
Posted on: 2006-10-10 22:06:00

In reply to:

The custom 404 error looks fine from here:


The image is showing fine here too, but damn that head is hard to spot :)

Mark

Re: Error Message Problem

Posted by: chaddux
Posted on: 2006-10-10 23:55:00

Really? You can see it? I still cannot. I'm still getting the standard 404 message. Now, I'm really confused.

Re: Error Message Problem

Posted by: Raz2133
Posted on: 2006-10-11 00:12:00

In reply to:

Really? You can see it?


Yes, I can see both the custom 404 and 403 pages (The dogs behind the fence).

Try clearing your browser cache and trying again.

Edit:

For your information, I am using FireFox 1.5.0.7 under Windows XP Pro SP2. I just tried IE6 and the custom 403 page displays correctly, but IE shows its own 404 error page.

Mark

Tags: htaccess fileimagespage loadsimage files403 errorindexeschad