title: Where do I set Response.TrySkipIisCustomErrors?
body: <p>I working on a custom 404 page and keep getting a 500 error from IIS7. After doing some research I found I need to set "Response.TrySkipIisCustomErrors=true;"</p>
  
  <p>Where do I set that value? Can it be set in anyway with php or within the web.config file?</p>
  
  <p>my 404 web.config code is:</p>
  
  <pre><code>&lt;customErrors mode="On"&gt;   
   &lt;error statusCode="404" redirect="404.html"/&gt;
  &lt;/customErrors&gt;
  </code></pre>