title: URL Rewrite issues on IIS 7.0 with subdomains, not present on IIS 7.5
body: <p>i'm building this asp.net application that require couple of subdomains. they will all share the same code base but i have separate .aspx for each subdomain in its own subfolder, as follows:</p>
  
  <pre><code>admin.domain.com -&gt; domain.com/admin
  user.domain.com -&gt; domain.com/user
  ...
  </code></pre>
  
  <p>everything works great on my dev box (win7, iis 7.5) using the following rewrite rules:</p>
  
  <pre><code>&lt;rule name="admin.domain.com" stopProcessing="true"&gt;
     &lt;match url=".*" /&gt;
        &lt;conditions&gt;
          &lt;add input="{HTTP_HOST}" pattern="^admin.domain.com$" /&gt;
          &lt;add input="{PATH_INFO}" pattern="^/images/" negate="true" /&gt;
          &lt;add input="{PATH_INFO}" pattern="^/handlers/" negate="true" /&gt;
          &lt;add input="{PATH_INFO}" pattern="^/aspnet_client/" negate="true" /&gt;
          &lt;add input="{PATH_INFO}" pattern="^/webservices/" negate="true" /&gt;
          &lt;add input="{URL}" pattern="\.axd$" negate="true" /&gt;
        &lt;/conditions&gt;
        &lt;action type="Rewrite" url="\admin\{R:0}" /&gt;
  &lt;/rule&gt;
  </code></pre>
  
  <p>When i push my release over to production, which runs Win 2008 R1, on IIS 7.0 the rewrites break. I see that my <code>&lt;form&gt;</code> tag in source of the page points to <code>action="admin/"</code>, whereas on 7.5 it points to root. So when i post my forms i get 404s, as there is no /admin subfolder per rewrites.</p>
  
  <p>Is there anything i can do to remedy this? I would like to omit upgrading to R2 just to fix this. Can i upgrade URL Rewrite module alone? Can i fix this using different rewrite rule?</p>
  
  <p>Any help is appreciated!</p>