locked
Rule not working RRS feed

  • Question

  • User-2144897030 posted

    Hello,

    I have a rule below and its not working.  I have done IISRESETs but the rule is not taking effect.  What else can I do to ensure the rule is active and applied.

    What the rule is suppose to do is add the DOMAIN.COM onto URLs that don't have them,  like   http://fish/homepage.htm would be http://fish.domain.com/homepage.htm

    Any advice would be much appreciated.

    Below is the rule. 

    <rewrite>

       <rules>
       <rule name="Chinook" enabled="true" patternSyntax="Wildcard" stopProcessing="true">
       <match url="*" />
       <serverVariables>
       </serverVariables>
       <action type="Redirect" url="http://fish.domain.com/{R:0}" />
    <conditions>
          <add input="{HTTP_HOST}" pattern="fish" />
    </conditions>
    </rule>
    </rules>
    </rewrite>

    Monday, September 8, 2014 3:55 PM

Answers

All replies