title: IIS Url-Rewrite: URL won't get recognized
body: <p>I'm facing a problem with the URL-Rewrite module right know.</p>
  
  <p>What I want to achieve:
  I have a website with the address "test-server" right now. When the URL is typed in I want to change the URL to "test-server/de" or "test-server/en" through the {HTTP_ACCEPT_LANGUAGE} variable. 
  This should only work on the URL "test-server" so when a user is on a sub-page like "test-server/de/" he can manually change the URL to "test-server/en/" without getting redirected again.</p>
  
  <p>This is what I have right know:</p>
  
  <pre><code>&lt;rewrite&gt;          
          &lt;rules&gt;              
              &lt;rule name="ToGermanPage" enabled="true" stopProcessing="true"&gt;
                  &lt;match url=".*" /&gt;
                  &lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false"&gt;
                      &lt;add input="{HTTP_ACCEPT_LANGUAGE}" pattern="^de" /&gt;
                      &lt;add input="{URL}" pattern=".+test-server" /&gt;
                  &lt;/conditions&gt;
                  &lt;action type="Redirect" url="{R:0}/{HTTP_ACCEPT_LANGUAGE}" appendQueryString="true" /&gt;
              &lt;/rule&gt;
              &lt;rule name="ToEnglishPage" enabled="true" stopProcessing="true"&gt;
              &lt;match url="^test-server" /&gt;
                  &lt;action type="Redirect" url="http://test-server/en" /&gt;
                  &lt;conditions logicalGrouping="MatchAny" trackAllCaptures="false"&gt;
                      &lt;add input="{HTTP_ACCEPT_LANGUAGE}" pattern="^de" negate="true" /&gt;
                  &lt;/conditions&gt;
              &lt;/rule&gt;
          &lt;/rules&gt;
  &lt;/rewrite&gt;
  </code></pre>
  
  <p>My problem is that if I type the following:
      
  It won't recognize the URL, same goes for the {URL} parameter inside the conditions.</p>