It is commonly appreciated that:
It is possible to create a redirect of www.domain.com to www.domain.com/AssertWeb/ by
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <clear /> <rule name="Redirect to HTTPS" patternSyntax="ECMAScript" stopProcessing="true"> <match url="(.*)" /> <conditions logicalGrouping="MatchAny" trackAllCaptures="false"> <add input="{HTTPS}" pattern="^OFF$" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" /> </rule> <rule name="Root Hit Redirect" stopProcessing="true"> <match url="^$" /> <action type="Redirect" url="/AssertWeb/" /> </rule> </rules> </rewrite> </system.webServer> </configuration> |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|