Jump to content

Archived

This topic is now archived and is closed to further replies.

ericbaze

IE browser overriding 404 error page...

Recommended Posts

My web site/server is using a custom 404 page written in PHP/HTML (error.php); however, I\'m running into a problem with Internet Explorer.

 

Apparently, there is a default setting for IE where \"Friendly HTTP Error Messages\" is set. This replaces the server\'s error messages with it\'s own version. As this is a default browser setting and 85% of our site viewers are using IE, this setting presents a problem.

 

According to the Microsoft web site (http://www.microsoft.com/window2000...re/iierrcst.htm), any error file larger than 512 bytes should override this setting and display the error page.

 

Our error.php file is much larger than 512 bytes; however, it doesn\'t override the default IE setting. As this posted \"fix\" was probably intended to solve the problem on a Microsoft 2000 server, I appear to be out of luck on our Apache server.

 

I, my IT department, and the support staff of our web host have all researched the issue and been unable to come up with an answer.

 

Also, please note the following:

 

1) When I tested it, the custom 404 page appeared in multiple Netscape versions and on Safari (which I use at home).

 

2) With \"friendly error messages\" turned off in IE, my custom 404 page appears as expected. Unfortunately, this option defaults to \"on\" when installing and using IE.

 

3) When using the default 404 for my server, I achieve the same results as mentioned in #1 and #2.

 

 

Does anyone have any suggestions on how I can fix this? Obviously under the circumstances, I\'m in-between a rock and a hard place.

 

Any ideas are appreciated!

 

Thanks,

 

 

Eric Baze, Creative Specialist

ConferenceCall.com

ebaze@conferencecall.com

Share this post


Link to post
Share on other sites

No guarantees on this one, but it may help.

Since you are in an intranet environment, grab a copy of the Internet Explorer Administration Kit (IEAK) 6 SP1 and redeploy IE to your users with customised settings.

This should allow you to turn the darn bug OFF before you roll it out.

 

Just an idea - overkill perhaps, but I assume you\'re using some form of centralised software deployment so it shouldn\'t be a major problem to do.

 

D

Share this post


Link to post
Share on other sites

Thanks for your response. Unfortunately, it\'s our main company website (www.conferencecall.com) that\'s causing the problem -- it\'s our current and potential customers who won\'t see the error page with their IE set to defaults.

 

If it were an internal problem, then your solution would be perfect. I don\'t think that there\'s a client-based solution to this, but I could be wrong. Can you think of anything on ther server or within the error page that I could change?

 

Thanks,

 

Eric

Share this post


Link to post
Share on other sites

You might use header() to try telling your custom page to send a 200 header instead of a 404 ... quick \'n dirty, but might work??? :twisted:

Share this post


Link to post
Share on other sites

Thanks for your response.

 

How would I implement the header(); command, since this is a 404 error redirect performed by the Apache software rather than the PHP software?

 

Thanks,

 

Eric

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.