title: URL Rewrite Module Questions / Problems
body: <p>I am tasked with creating some rewrite rules for a .Net MVC site in IIS 7.5.  I installed the Url Rewrite Module, and configured a couple of very simple rules without success. </p>
  
  <p>So my first question is, in which order does IIS process the incoming url?
  Is it Incomming URL --> URL Rewrite --> rewrite the Url --> .Net MVC Routing Manager gets the updated URL?</p>
  
  <p>If not then in which order does it process it and how can I get the URL Rewrite to process the URL first?</p>
  
  <p>There is a checkbox that says "Log rewritten URL", does this log to the IIS log or is this for something else?</p>
  
  <p>Here is the rewrite inbound rule I created:</p>
  
  <pre><code>Pattern: (.*)/fin/(.*)
  Rewrite URL: {R:1}/fi/{R:2}
  </code></pre>
  
  <p>Any help is greatly appreciated.</p>
  
  <p><strong>Update: 4/5/2012</strong>
  I still can't get it to work on the system.  I tried hitting it via the Localhost to eliminate proxy's and load balances and it still won't work.  I installed it to another machine, and it works like a champ.  Any suggestions would be greatly appreciated.</p>
  
  <p>** Update: 4/6/2012**
  I still haven't tracked down the problem, but I wonder if my web.config for my MVC app is causing any problems.  Does it appear that these statements in the web.config could be causing this?:</p>
  
  <pre><code>&lt;system.webServer&gt;
  &lt;validation validateIntegratedModeConfiguration="false"/&gt;
  &lt;modules runAllManagedModulesForAllRequests="true"&gt;
    &lt;remove name="WebDAVModule" /&gt;
  &lt;/modules&gt;
  </code></pre>
  
  <p></p>