Custom Errors


This function allows you to customize HTTP errors that are sent to clients when Web server errors occur. Currently, only error 401 (Unauthorized: Access Denied), error 403 (Forbidden: Access Denied), error 404 (Page Not Found), and error 500 (Internal Server Error) are editable.

Editable HTTP Errors
401 Unauthorized: Access Denied
401.1 - Unauthorized: Access is denied due to invalid credentials.
401.2 - Unauthorized: Access is denied due to server configuration favoring an alternate authentication method.
401.3 - Unauthorized: Access is denied due to an ACL set on the requested resource.
401.4 - Unauthorized: Authorization failed by a filter installed on the Web server.
401.5 - Unauthorized: Authorization failed by an ISAPI/CGI application.
401.7 - Unauthorized: Access is denied due to invalid credentials.

403 Forbidden: Access Denied
403.1 - Forbidden: Execute access is denied.
403.2 - Forbidden: Read access is denied.
403.3 - Forbidden: Write access is denied.
403.4 - Forbidden: SSL is required to view this resource.
403.5 - Forbidden: SSL 128 is required to view this resource
403.6 - Forbidden: IP address of the client has been rejected.
403.7 - Forbidden: SSL client certificate is required.
403.8 - Forbidden: DNS name of the client is rejected.
403.9 - Forbidden: Too many clients are trying to connect to the Web server.
403.10 - Forbidden: Web server is configured to deny Execute access.
403.11 - Forbidden: Password has been changed.
403.12 - Forbidden: Client certificate is denied access by the server certificate mapper.
403.13 - Forbidden: Client certificate has been revoked on the Web server.
403.14 - Forbidden: Directory Listing Denied.
403.15 - Forbidden: Client access licenses have exceeded limits on the Web server.
403.16 - Forbidden: Client certificate is ill-formed or is not trusted by the Web server.
403.17 - Forbidden: Client certificate has expired or is not yet valid.
403.18 - Forbidden: Access is denied.
403.19 - Forbidden: Access is denied.
403.20 - Forbidden: Passport Login Failed.

404 Forbidden: Page Not Found
404 - File or directory not found.
404.2 - File or directory not found.
404.3 - File or directory not found.

500 Internal Server Error
500 - Internal server error.
500.12 - Server error: Application is busy restarting on the Web server.
500.13 - Server error: Web server is too busy.
500.15 - Server error: Direct requests for GLOBAL.ASA are not allowed.
500.16 - Internal server error.
500.17 - Internal server error.
500.18 - Internal server error.
500.19 - Internal server error.
500.20 - Internal server error.
500.100 - Internal server error: ASP error.

Note: If you customize an error to a URL on your site, all the subcodes will be customized to the same URL. For example, when you assign a page to the 401 code, it sets that page for all the 401.x subcodes.



Send mail to with questions or comments about this web site.
Last modified: October 11, 2010