Custom Errors not workin on IE??

Dave96

Perch
Hi,

A customer of mine on web2 seem to not be able to view his custom error page on IE (Internet Explorer), they work fine on FireFox...

I was a witness that the actual page worked on IE a day ago and than suddenly stopped working. This is not a coding issue since it was tested with very simple php echo tags.

Maybe a server restart my fix the issue?
 
What do you mean? He gets the stock 404 page the IE displays. And the custom error page worked yesterday anyways, I witnessed it myself.
 
If friendy errors are enabled (Tools - Internet Options - Advanced tab - Show Friendly HTTP Error Messages), Internet Explorer will show the "friendly" error page instead of the one you made for error codes that it has such a page for, such as 404.

Supposedly Internet Explorer will always show the custom page, if it exceeds 512 bytes in size, but I've never tested this. If that doesn't work, you will have to turn the feature off, or you will have to generate error pages that return the normal return code (200).

Edit: See the article at http://support.microsoft.com/default.aspx?scid=kb;en-us;q294807

Edit 2: apparently this threshold of 512 bytes is only 256 bytes for different error codes.
 
Yep, that was the answer. That customer was bugging me about this issue for 2 days now.

I tested with a 512bytes content size and it seems to overide the default IE setting.

Thanks alot for the article SubSpace, I would have never tought of that.
 
Back
Top