I've set up the following in the web.config file:
Code: Select all
<customErrors mode="On" defaultRedirect="~/errors/general.aspx">
<error statusCode="404" redirect="~/errors/404.aspx" />
</customErrors>
This only happens when I enter a url ending with a file extension of ".asp".
How do I go about trapping this an redirecting people to our general error page?
Thanks.