title: Having jpg and gif handled by IsapiModule in IIS7
body: <p>I'm struggling to get my HttpHandler to process requests for jpg and gifs.</p>
  
  <p>I've gone to the website's Handler Mappings and added the following line:</p>
  
  <pre><code>Path: *.jpg,*.gif
  State: Enabled
  Path Type: Unspecified (I've also tried setting this to File)
  Handler: IsapiModule
  Entry Type: Local
  </code></pre>
  
  <p>Running through Visual Studio works, so I know its not my code. It also works on IIS6.</p>
  
  <p>I've tried setting the app up in both classic and integrated mode.</p>
  
  <p>Here's the appropriate Handler mappings specified in the web.config:</p>
  
  <pre><code>&lt;add name="*.jpg,*.gif_*" path="*.jpg,*.gif" verb="*" type="ThumbnailGenerator,Utilities" preCondition="integratedMode,runtimeVersionv2.0" /&gt;    
  &lt;add name="JPEG-GIF" path="*.jpg,*.gif" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32" /&gt;
  </code></pre>