title: How can I force HTTP Handler to be handled before IIS Rewrites
body: <p>Ive got a website configured under IIS7.5.
  In that top level root directory of the website, I've got an installation of wordpress. It uses rewrites to show nice URLS.
  I've got another application in a subdirectory on this website. I've got a custom HttpHandler configured in web.config in this subdirectory, which looks like:</p>
  
  <pre><code> &lt;system.webServer&gt;
    &lt;handlers&gt;
      &lt;add name="frwefewr" path="handler.doc" verb="*" type="DocHandler.DocumentHandler"    resourceType="Unspecified" preCondition="integratedMode" /&gt;
    &lt;/handlers&gt;
   &lt;/system.webServer&gt;
  </code></pre>
  
  <p>When accessing this address: <a href="http://www.website.com/subdirectory/handler.doc" rel="nofollow">http://www.website.com/subdirectory/handler.doc</a>, I want it to be handled by the docHandler HttpHandler.</p>
  
  <p>It is currently being handled by the IIS7 Rewrite module and takes me to a Page Not Found Wordpress page. If I turn off the Wordpress Permalinks, and rewrites... the HttpHandler works.</p>
  
  <p>How do I set the priority to be HttpHandler before Rewrites?</p>
  
  <p>Thanks</p>