IIS 7 and Above
HTTP to HTTPS redirect in IIS 7.5
Last post Mar 11, 2011 02:29 PM by bakinnan
Nov 19, 2010 06:16 AM|geowilly|LINK
Sadly, this still does not work for me.
I am a server administrator, not a web developer, so ideally I want to configure my redirect from the SERVER LEVEL, not a redirect script into one of my webpages as I dont own the rights to change the web pages that are being served.
Nov 19, 2010 08:31 AM|rvenkatrajaiah|LINK
you can try below redirection technique
<error statusCode="403" subStatusCode="4" path="https://xxxxx/xxx.aspx" responseMode="Redirect" />
Nov 22, 2010 10:47 PM|Leo Tang - MSFT|LINK
You can redirect HTTP request to HTTPS request by using URL Rewrite Module. Please refer to the "Redirect to HTTPS" in the following article:
10 URL Rewriting Tips and Tricks
Mar 11, 2011 02:29 PM|bakinnan|LINK
I also got this to work by changing my applicationHost.config. I changed the <httpError> line to <httpErrors errorMode="Custom" lockAttributes="allowAbsolutePathsWhenDelegated,defaultPath"> then adding the redirect to my individual websites.