404 error
|
Ebay-404-error.jpg
The 404 or Not Found error message, as commonly encountered when using a web browser on the World Wide Web, is a manifestation of one of the standard response codes of the Web's principal communication protocol, HTTP.
When communicating via HTTP, a server is required to respond to a request, such as a web browser's request for an HTML document (web page), with a numeric response code, sometimes followed by an email-like MIME message. Each response code has an associated string of English text that must also be present. Response code 404's associated string is "Not Found". When sending a 404 response, web servers usually include in the response message a short HTML document that mentions both the numeric code and this string. Many browsers opt to show this message to the user, while some browsers instead display a "friendlier" error message.
A 404 response indicates that the web browser was able to communicate with the server, but the server either could not find what was requested, or was unwilling to fulfill the request for it and did not wish to reveal the reason why.
HTTP response codes have a specific interpretation. In code 404, the first "4" indicates a client error, such as a mistyped URL. The following two digits indicate the specific error encountered. HTTP's use of three-digit codes is similar to the use of such codes in earlier protocols such as FTP and NNTP.
These errors can be customized on a large number of such servers to display a page that could be of more help than a default. For example, this can be achieved in Apache by placing a .htaccess file on the Web server. Internet Explorer will not read these pages, however, unless they are larger than 512 bytes. Creating humorous 404 pages has become popular and some websites have been created that link to numerous amusing 404 error pages.
External links
- An example of a 404 error (http://www.yahoo.com/notfound)
- "I have terrible news" (http://www.samsmith.co.uk/404.html); a humorous default 404 error which parodies the traditional 404-error.
- 404 Research Labs (http://www.plinko.net/404/) — A gallery of custom 404 pages and information on how to create them.
- A collection of creative 404 error pages (http://www.404errorpages.com/) — Advice and guidance on how to create effective 404 error pages for web sites.
- The Perfect 404 (http://www.alistapart.com/articles/perfect404/) — An article on building a custom 404 page at A List Apart
- Dissolving the Myth about Room 404 (http://www.plinko.net/404/history.asp)
- HTTP status codes specification (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)
- another example of 404 error (http://www.example.com)
- RFC2616 (http://www.ietf.org/rfc/rfc2616.txt) Section 10.4.5.fr:Erreur HTTP 404