title: web.config rewrite rule for paths
body: <p>I am trying to create a rewrite rule in the web.config that will take a url such as <a href="http://example.org/MySite" rel="nofollow noreferrer">http://example.org/MySite</a> and just redirect them back to the root site such as <a href="http://example.org" rel="nofollow noreferrer">http://example.org</a>.</p>
  
  <p>It should also ignore specific folders such as <a href="http://example.org/css" rel="nofollow noreferrer">http://example.org/css</a> or <a href="http://example.org/js" rel="nofollow noreferrer">http://example.org/js</a>.</p>
  
  <pre><code>&lt;rewrite&gt;
    &lt;rules&gt;
      &lt;rule name="enquiry" stopProcessing="true"&gt;
        &lt;match url="http://example.org/^$" /&gt; &lt;!-- Wrong !! -&gt;
        &lt;action type="Rewrite" url="/" /&gt;
      &lt;/rule&gt;
    &lt;/rules&gt;
  &lt;/rewrite&gt;
  </code></pre>