How does one specify a single page as a fallback if specific error codes are not matched?
I have the following that matches a HTTP 500 and 404 error ..
<system.webServer>
<httpErrors errorMode="Custom" defaultResponseMode="File">
<clear />
<error statusCode="500" path="my500errorHandler.html"/>
<error statusCode="404" path="my404errorHandler.html"/>
</httpErrors>
</system.webServer>
How do I define a default page to handle a HTTP error not specifically defined such as the 500 and 404 error are in the web.config?
Try following solution with Asp.Net.
Other generic solution for IIS here. Note that here: If you are using static html defaultResponseMode=File. If you are using dynamic page, you need to set efaultResponseMode="ExecuteURL"