HTTP status codes are standard types of errors so you could see them in any browser, like Internet Explorer, Firefox, Chrome, etc. The following errors are mostly displayed in your browser.
Use the following Apache Status and Error Code:-
400 Bad Request – This error code can be received due the bad structured http request to the server. Or in other words the web server to which you are sending this request cannot handle it. The most common reason for such error massage is errors in the code of the files you are trying to reach .
401 Unauthorized – This error massage is given in most of the cases due the fact that you are trying to reach a password protected resource on the server and you have provided wrong credentials for the authorizing process. In case you have forgotten your login credentials to this particular resource you can login into your cPanel and change these credentials using the Password protected directories feature.
403 Forbidden – Usually this error massage is received if you are trying to access a resources which is forbidden. In most of the cases the forbidden rule is located into the .htaccess file and if you are not the one who have inserted it in most of the cases you should contact your web-hosting provider.
404 Not Found – This error massage is given usually when you are trying to reach an unexisting resource on the server. In such cases you should check one more time time the URL for any mistakes in it.
500 Internal Server Error – This error massage is given usualy when you are trying to access athan4 resource which have wrong file permissions or invalid .htaccess file. In such cases you should simply check the permissions of the file you are trying to reach and if some of the numbers are lower than 4 you should correct these due the fact that such files have no privileges to be red.
502 Bad Gateway – The 502 Bad Gateway HTTP status code means that one server received an invalid response from another server that it was accessing while attempting to load the web page or fill another request by the browser. In other words, the 502 error is an issue between two different servers on the Internet that aren’t communicating properly.
503 Service Unavailable – The 503 Service Unavailable HTTP status code means the web site’s server is simply not available at the moment. 503 errors are usually due to a temporary overloading or maintenance of the server.
504 Gateway Timeout – The 504 Gateway Timeout HTTP status code means that one server did not receive a timely response from another server that it was accessing while attempting to load the web page or fill another request by the browser. This usually means that the other server is down or not working properly.
APACHE SERVER STATUS & ERROR CODES
Successful Client Requests | |
200 | OK |
201 | Created |
202 | Accepted |
203 | Non-Authorative Information |
204 | No Content |
205 | Reset Content |
206 | Partial Content |
Client Request Redirected | |
300 | Multiple Choices |
301 | Moved Permanently |
302 | Moved Temporarily |
303 | See Other |
304 | Not Modified |
305 | Use Proxy |
Client Request Errors | |
400 | Bad Request |
401 | Authorization Required |
402 | Payment Required (not used yet) |
403 | Forbidden |
404 | Not Found |
405 | Method Not Allowed |
406 | Not Acceptable (encoding) |
407 | Proxy Authentication Required |
408 | Request Timed Out |
409 | Conflicting Request |
410 | Gone |
411 | Content Length Required |
412 | Precondition Failed |
413 | Request Entity Too Long |
414 | Request URI Too Long |
415 | Unsupported Media Type |
Server Errors | |
500 | Internal Server Error |
501 | Not Implemented |
502 | Bad Gateway |
503 | Service Unavailable |
504 | Gateway Timeout |
505 | HTTP Version Not Supported |