954,315 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Show Custom Error or redirect When no https

With our sites running IIS prior to 7, if someone hits a site with no SSL cert installed via https, they would see the same web page as someone hitting it via http. In IIS 7.5 that changed with bindings so now, under the same conditions, the https request gets a "Internet Explorer cannot display..." error message.

Where is this message coming from? IIS? Is there an error code associated with it? Most importantly, how can I intercept that https request and gracefully automatically redirect them to the http page? Or can I at least show a custom error page?

SBA-CDeCinko
Light Poster
38 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

Is anyone reading these posts anymore?

With our sites running IIS prior to 7, if someone hits a site with no SSL cert installed via https, they would see the same web page as someone hitting it via http. In IIS 7.5 that changed with bindings so now, under the same conditions, the https request gets a "Internet Explorer cannot display..." error message.

Where is this message coming from? IIS? Is there an error code associated with it? Most importantly, how can I intercept that https request and gracefully automatically redirect them to the http page? Or can I at least show a custom error page?

SBA-CDeCinko
Light Poster
38 posts since May 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: