title: Specifying exact path for my ASP.NET Http Handler
body: <p>I generate an XML/Google sitemap on the fly using an Http Handler, so that I don't need to maintain an XML file manually.</p>
  
  <p>I have mapped my Http Handler to "sitemap.xml" in my web.config like this:</p>
  
  <pre><code>&lt;httpHandlers&gt;
    &lt;add verb="*" path="sitemap.xml" type="My.Name.Space, MyAssembly" /&gt;
  &lt;/httpHandlers&gt;
  </code></pre>
  
  <p>It works nicely. Now, www.mywebsite.com/sitemap.xml sets my Http Handler into action and does exactly what I want. However, this url will do the same: www.mywebsite.com/some/folder/sitemap.xml and I don't really want that i.e. I just want to map my handler to the root of my application.</p>
  
  <p>I have tried changing the "path" of my handler in my web.config to "/sitemap.xml" and "~/sitemap.xml" but neither works.</p>
  
  <p>Am I missing something here?</p>