What do the different error codes Apache gives mean? Print

  • 0

Each error code represents a different type of problem. Below are the most common error codes and what they represent.

Custom error 400, Bad Request
This error, 400 bad requests, means that a request for a URL has been made but the server is not configured or capable of responding to it. If you receive 400 errors for static Web pages, it is likely the Web server is not set up correctly

Custom error 401, Authorization Required
The server could not verify that you are authorized to access the document you requested.

Custom error 403, Access Forbidden
This error, 403 access forbidden, means, no default directory index page is present and the site manager does not want a file listing displayed in its place.

Custom error 404, Document Not Found
This error, 404 documents not found, means that a request for a URL has been made but no such resource is present.

Custom error 405, Method Not Allowed
The HTTP protocol defines methods to indicate the action to be performed on the Web server for the particular URL resource identified by the client. Methods: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT
Web servers can be configured to allow or disallow any method

Custom error 408, Request Timed Out
When Web server thinks that there has been too long an interval of time between the establishment of an IP connection (socket) between the client and the server and the receipt of any data on that socket, so the server has dropped the connection.

Custom error 500, Internal Server Error
This error, 500 internal server error, means that a request for a URL has triggered a fault with the Web server. It is likely that a server configuration change, CGI script, Java servlet, or other server side application has caused a fault.

Custom error 501, Not Implemented

When Web server does not understand or does not support the HTTP method it finds in the HTTP data stream sent to it by the client.

Custom error 503, Service Unavailable
When Web server is currently unable to handle the HTTP request due to a temporary overloading or maintenance of the server

Custom error 505, HTTP Version Not Supported
Web server does not support, or refuses to support, the HTTP protocol version specified by the client in the HTTP request data stream sent to the server


Was this answer helpful?

« Back