title: IIS 7 Integrated handler does not match when path does not exist
body: <p>I'm upgrading from classic to integrated. I upgraded my web.config handlers to the new sections. However nothing worked, so I started a bran new MVC 4 project, created a handler, registered it in the web.config and it never fires if the path doesn't exist.</p>
  
  <p>This handler takes the url, finds a different file, and writes that file to the output stream along with custom headers.</p>
  
  <p>For example I am trying to do:</p>
  
  <pre><code>&lt;system.webServer&gt;
  &lt;handlers&gt;
  &lt;clear/&gt;
  &lt;add name="GifHandler" path="*.gif" verb="*" type="MyType, MyAssembly" /&gt;
  &lt;/handlers&gt;
  &lt;/system.webServer&gt;
  </code></pre>
  
  <p>When I go to the handler directly, it's fine, when I go to IIS and look at registered handlers, it's there, but when I go to the url localhost/something.gif I get a 404.</p>
  
  <p>I have a feeling IIS is checking if the file exists before handing it off.</p>
  
  <p>So how do I get the handler to accept all gifs even if they don't exist?</p>