title: IIS Url Rewrite: how to ignore minified javascript and css
body: <p>Using the following rule, I can successfully rewrite urls to redirect to app/index.cshtml. Som resources like images, css and javascripts should not be redirected, so I've used conditions:</p>
  
  <pre><code> &lt;rule name="AngularJS"&gt;
        &lt;match url="(.*)" /&gt;
        &lt;conditions&gt;
          &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;
          &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;
          &lt;add input="{URL}" negate="true" pattern="\.png$" /&gt;
          &lt;add input="{URL}" negate="true" pattern="\.css$" /&gt;&gt;
          &lt;add input="{URL}" negate="true" pattern="\.js$" /&gt;
        &lt;/conditions&gt;
        &lt;action type="Rewrite" url="app/index.cshtml" /&gt;
      &lt;/rule&gt;
  </code></pre>
  
  <p>But as soon as I start using minified content, the requested URL becomes similar to :</p>
  
  <p>/myapp/bundles/utilities?v=EH9YuZDBt_fj7iqRP2QA8lCkJ59wjV6woELIwvR7irk1 </p>
  
  <p>How do I prevent that type of url to be redirected  ?</p>