title: Url Rewriting on IIS7
body: <p>I am trying to rewrite a url to a different one by using inbound rule on IIS. What I am trying to do is basically any request thats like <code>localhost/Membership/Login</code> will be <code>localhost/handlers/mapper.ashx?url=Membership/Login</code>. What I have done is creating a pattern something like below</p>
  
  <pre><code>(Membership\/)(.+)
  </code></pre>
  
  <p>and the rewrite url is </p>
  
  <pre><code>http://localhost/handlers/mapper.ashx?url={R:0}
  </code></pre>
  
  <p>Actually this way did not give me the solution what I want. It keeps working as a normal request not goes to the mapper.ashx.</p>
  
  <p>What can be the problem ? What is the proper way to do something like that ?</p>
  
  <p>Thanks in advance,</p>