Recently I have to do a redirect from http to https site. I’m using Javascript in a customer error html page to do the redirection. It works very good for all browsers except Internet Explorer which has a feature of “Show Friendly HTTP Error Messages”. If this feature is on, IE actually shows the error information page from client’s machine not any error pages from server. How to get around it? Here is the KB for it…
http://support.microsoft.com/kb/294807
…Several frequently-seen status codes have “friendly” error messages that Internet Explorer 5.x displays and that effectively mask the actual text message that the server sends. However, these “friendly” error messages are only displayed if the response that is sent to the client is less than or equal to a specified threshold. For example, to see the exact text of an HTTP 500 response, the content length must be greater than 512 bytes…
So here is the content of that customer error page I got from Internet and did some revision.
_
_