0

I'm mapping new file types in IIS 6 to the ASP.NET processor; for example the .gif image type.

IIS will see a GIF image doesn't not exist (e.g. http://www.example.com/NoExist.GIF ) and raise a 404 HTTP err before passing the request onto ASP.NET. I want to turn off the IIS file check so ASP.NET gets to handle the invalid request how it chooses.

1 Answer 1

0

Look at the setting "verify that file exists" in the extension or ISAPI mapping handling that extension. If that option is enabled, IIS will see that the file doesn't exist and handle the 404 itself before ASP is ever called. If the setting is not enabled, IIS will pass the request to ASP and let the filter handle it internally.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .