IIS URL Rewrite must be installed:
http://www.iis.net/downloads/microsoft/url-rewrite
Open URL Rewrite, on the Actions pane (right side) click "Add Rule(s)"
create the rule:
web.config:
</security>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<remove name="Telerik.Web.UI.WebResource" />
<add name="Telerik.Web.UI.WebResource" verb="*" path="Telerik.Web.UI.WebResource.axd" preCondition="integratedMode" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
</handlers>
<rewrite>
<rules>
<rule name="Redirect to HTTPS" stopProcessing="true">
<match url="^(.*)Login.aspx(.*)" />
<conditions>
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}Login.aspx{R:2}" />
</rule>
</rules>
</rewrite>
</system.webServer>
Comments
0 comments
Please sign in to leave a comment.