Forum Moderators: open

Message Too Old, No Replies

Ignoring Browser Error Message Handling

         

inveni0

8:18 pm on Feb 1, 2006 (gmt 0)

10+ Year Member



Is there a way to program a not_found error document so that it will display regardless of the user's "Show friendly HTTP error messages" setting?

Dijkgraaf

8:43 pm on Feb 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



For a 404 error if the site in question serves up a page with the 404 error that is what should show up, regardless of that setting in IE.
Only if the site also gives a 404 trying to serve up the 404 page, will IE show a default page of its own.
I have a custom 404 error page that works fine with all browsers including IE.

inveni0

8:49 pm on Feb 1, 2006 (gmt 0)

10+ Year Member



On all computers I was testing, if that option was checked, it would not use my custom error page. So I know that just changing the error page is not enough.

Could it be due to the fact that my 404 redirects?

Dijkgraaf

8:54 pm on Feb 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Give it a test against my domain (in my profile) and see if you get the same problem. If you don't then I'd say it is a configuration problem on the server, and not the browser.
I tried it with IE6SP2, and it does show my custom 404 page.

inveni0

8:57 pm on Feb 1, 2006 (gmt 0)

10+ Year Member



Yes, I also tried it on the webmasterworld.com site, and the custom page was shown. I will have to contact my hosting provider.

Thanks.

Dijkgraaf

9:00 pm on Feb 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What type of web server is it? Appache?

whoisgregg

9:04 pm on Feb 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There's a certain filesize for the 404 page that you have to be over for IE to not show it's friendly version. I think it's half a KB, or maybe 1 KB?