http Error codes

The following are http status and error codes that are returned for each file access via a web browser.  The highlighted entries are the most common.

Successful Client Requests

200 OK -- request was delivered to visitor
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 -- location has moved -- one url changing to another -- primarily used for search engines and redirecting visitors
302 Moved Temporarily
-- same as 301 but this is just for a short time -- tells search engines to try address again for future index
303 See Other
304 Not Modified
305 Use Proxy

Client Request Errors

400 Bad Request
401 Authorization Required -- login window should be shown
402 Payment Required (not used yet)
403 Forbidden -- file permissions or directives prevent access
404 Not Found
405 Method Not Allowed -- usually comes up when trying to post to a HTML file that isn't preprocessed via php, asp, or other script/cgi
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 -- usually a bad directive in web server config, .htaccess directive, or other configuration item -- can also so for php errors shown to IE users .
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported
  • 26 Users Found This Useful
Was this answer helpful?

Related Articles

Selecting PHP version

Selecting PHP versions can be done by doing the following:hsphere Login to the control panel...

FTP over SSL (FTPS)

Our Linux servers require SSL/TLS for FTP connections -- otherwise known as FTP over SSL. ...

Force WWW or non-WWW

NONE SSLTo force www in your URLs, place the following in the .htaccess.RewriteCond %{HTTP_HOST}...

PHP settings and the .user.ini file

Most settings for PHP can be configured via a file called ".user.ini" as defined by the...

How to create a .htaccess file

Creating a .htaccess is easier then it sounds. You can create an .htaccess file in any text...