I know that for pages I have to redirect to the page user errors for 404 errors, etc. But say that someone opens the URL in their browser for an image that does not exist, for example http://mysite.com/nothinghere.gif . This site returns a 404 error, but it is not only the default browser, but also a custom 404. How do you configure an ASP.NET site on IIS7 for this? The customerrors section of web.config doesn't seem to apply to things like images, css, js, etc.
source
share