iis 7 - redirect subdomain within IIS7.5 using https -


i have setup wildcard on iis 7.5 site. trying force users e.g. https://store1.mydomain.com or https://store2.mydomain.com

i have been able find examples redirecting www.

can out?

you can use url rewrite module force user switch ssl, regardless of host name or url users uses enter site. use following rule:

<rule name="force https" enabled="false" stopprocessing="true">     <match url="(.*)" />     <conditions logicalgrouping="matchall">         <add input="{https}" negate="true" pattern="^on$" />     </conditions>     <action type="redirect" url="https://{http_host}{request_uri}" appendquerystring="false" redirecttype="permanent" /> </rule> 

hope need.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -