Process html files with HttpModule to catch 404 errors on IIS7
I am having another problem with my HttpModule that handles exceptions. (cfr. my previous post: Custom HttpModule for IIS 7 for integrated ) All works well, but only for aspx pages. The main reason we wanted to use this HttpModule is to handle 404 exceptions that occur when someone tries to go to a html page that doesn't exist. But my HttpModule only works for .aspx pages and it isn't triggered when a html file doesn't exist. This is the configuration that I have set up in my web.conf file: <system.webServer> <modules> <add name="AspExceptionHandler" type="Company.Exceptions