B
brianlc
I need help on IIS Redirect. What's going on i want to do a redirect of a site with a multiple sub domain to single sub domain. For example i want technology.com redirected to https://mypets.technology.com. I'm using a mod url rewrite to redirect the http to https. Can anyone help me on this? thanks in advance
Currently i have this script that i got from other sources.
<rewrite>
<rules>
<rule name="Redirect to http" enabled="true" patternSyntax="ECMAScript" stopProcessing="true">
<match url="(.*)" negate="false" />
<conditions logicalGrouping="MatchAny">
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
Continue reading...
Currently i have this script that i got from other sources.
<rewrite>
<rules>
<rule name="Redirect to http" enabled="true" patternSyntax="ECMAScript" stopProcessing="true">
<match url="(.*)" negate="false" />
<conditions logicalGrouping="MatchAny">
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
</rule>
</rules>
</rewrite>
Continue reading...