<rewrite> <rules> <rule name="Redirect to Subdomains" stopProcessing="true"> <match url="^xyzPage.aspx$" /> <conditions> <add input="{QUERY_STRING}" pattern="^barvalue=(.+)$" /> </conditions> <action type="Redirect" url="http://{C:1}.{HTTP_HOST}" appendQueryString="false" /> </rule> </rules> </rewrite>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)