title: IIS Rewrite not working (but redirection does)
body: <p>I was trying to play with URL re-writing using the <em>Rewrite Module 2.0</em> but I had no luck getting it to work. What I'm trying to do is re-write all calls to web app at port 80 to other applications hosted in IIS (or maybe on different servers on the network). Using the GUI provided by IIS I created the following rule:</p>
  
  <pre><code>&lt;rewrite&gt;
      &lt;rules&gt;
          &lt;rule name="ReverseProxyInboundRule1" stopProcessing="true"&gt;
              &lt;match url="site1/(.*)" /&gt;
              &lt;action type="Rewrite" url="http://localhost:7001/{R:1}" /&gt;
          &lt;/rule&gt;
      &lt;/rules&gt;
  &lt;/rewrite&gt;
  </code></pre>
  
  <p>Quiet simple, but unfortunately it does not work. On the other hand, when I change the action type to <code>Redirect</code>, it works fine.</p>
  
  <p>What could be the problem?</p>