In my .htaccess file, I redirect any 404 web page errors to a server error page. However, I was noticing that if you go to non-existent web page using Internet Explorer with IE7Pro installed, it brings up its own error page instead of my server error page. I imagine there are other programs out there that also handle 404 error pages this same way. How can I set up my server so that people going to a non-existent page on my website see the server error page instead of a program's, such as IE7PRO, error page?
One problem I can think of is that IE sometimes displays its own 404 error message if the page coming from the server has a size which is below a certain threshold. Have you tried to return a large 404 error page?
If wikipedia can be believed, the cutoff is 512 bytes, not only for MSIE but also for Google Chrome. Assuming that count is for the actual html-- mine's over 512 counting everything, but under 512 going by text alone, and Chrome displayed the custom text as intended-- you can pad it simply by throwing in a little more formatting.
Wouldn't it be nice if all MSIE Issues could be addressed so easily? :-)