IIS 7 - allow http for part of site, https for rest?

Posted by Martin Clarke on Server Fault See other posts from Server Fault or by Martin Clarke
Published on 2012-09-28T10:13:14Z Indexed on 2012/10/01 9:40 UTC
Read the original article Hit count: 196

Filed under:
|
|
|
|

In IIS 7, is there a way to set two urls on the same site to allow http and https, and the rest to be https only?

 - http://mysite/url1 or https://mysite/url1 is accepted and stays on that protocol.
 - http://mysite/url2 or https://mysite/url2 is accepted and stays on that protocol.
 - any other item, i.e. http://mysite/whatever redirects to https://mysite/whatever
 - https://mysite/whatever is accepted.

Edited because first question wasn't clear enough.

© Server Fault or respective owner

Related posts about Windows

Related posts about iis