Simple and beautiful single source page 404
A simple and bright side of a single page 404 source, FYI
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>404-[对不起!您访问的页面不存在] </title> <style type="text/css"> .head404{ width:580px; height:234px; margin:50px auto 0 auto; background:url('http://zq027.com/Public/images/head404.png') no-repeat; } .txtbg404{ width:499px; height:169px; margin:10px auto 0 auto; background:url('http://zq027.com/Public/images/txtbg404.png') no-repeat;} .txtbg404 .txtbox{ width:390px; position:relative; top:30px; left:60px;color:#eee; font-size:13px;} P {margin .txtbox .txtbg404: 5px 0; Line-height: 18px;} .txtbg404 .txtbox .paddingbox {Top-padding: 15px;} .txtbg404 .txtbox {PA Color: #eee; text-Decoration: none;} PA .txtbox .txtbg404: hover {Color: # FC9D1D; text-Decoration: underline;} </ style> </ head> <body bgcolor = "# 494 949"> <div class = "head404"> </ div> < div class = "txtbg404"> <div class = "txtbox"> <the p-> Sorry, the page you requested does not exist or has been removed, or is temporarily unavailable </ the p-> <the p-class = "paddingbox"> click the following link to visit the website </ the p-> <the p-> "<a style="cursor:pointer" οnclick="history.back()"> return to the previous page </a> </ the p-> <the p-> "<a href="/"> return Home </a> </ the p-> </ div> </ div> </ body> </html>
Web Page Preview:
------------------------------------------------------------------------------
Further reading: 404,403,405,500 | common error code analysis page
No. 1 404 File not found
404 is the most common error code when you surf the Internet, because the general appearance might be:
① page has been deleted or does not exist
② URL is entered incorrectly
③ not inserted cable or not connected
As the most common life 404, in addition to the meaning of the query itself can not find the page, also extends a lot of extra significance.
such as:
Good-looking skins stereotyped
Interestingly soul 404 Not Found
as well as
Your little sister has fairy S 404, you need to kiss hug raised together in order to come back!
404 we talked about here, because in addition to 404, as well as sea stars and other error codes throughout our exploration.
No. 2 400 requests an error
This occurs because the code is generally speak the same language, howling at the moon, the door not properly account, a word:
The server could not understand
The user's request
The reason usually occurs 400 error code is:
We enter the syntax is incorrect, the server can not understand what we want to express. If not modified, then refresh many times useless.
No. 3 401 unauthorized
Generally this error message means you first need to log in (enter a valid user name and password).
If you do not enter this information, there will be 401 error, it means validation error message, the server can not identify you.
No.4 403 Forbidden
403 means that the server understand this request, but denied you access probably means something like:
I like a man, midnight knock on his door confession
He understood my confession, but he refused and just do not open the door!
The main reasons are:
① You do not have permission to access this site
② You are banned from this site
Unless you contact the Web server administrator, or else face 403 state is difficult to resolve.
No.5 405 resources is prohibited
405 is the representative for the identified resource request, the request line is not allowed to use the method specified.
Solution:
① Be sure to set the correct MIME type of the requested resource
② contact the server administrator
No.6 408 Request Timeout
408 means that your request is sent to the site server than the time it takes to prepare the site for a long time to wait, that link timeout.
The reason may be:
① network in poor condition, Suman crash
② network server traffic surge
No.7 500 Server Error
If your internal server error and could not complete the request, likely will prompt an error code 500.
A detailed breakdown of the specific error code, you can also pull out a bunch of server error Family:
500.11 Server error: Web application on the server is shut down.
500.12 Server error: application on the Web server is restarted.
500.13 Server error: Web server is too busy.
500.14 Server error: Invalid application configuration on the server.
500.15 Server error: Direct requests GLOBAL.ASA.
500.16 Server error: UNC authorization credentials incorrect.
500.17 Server error: URL authorization store can not be found.
500.18 Server error: URL authorization store can not be opened.
500.19 Server error: The data file is not configured correctly in the configuration database.
500.20 Server error: URL authorization domain can not be found.
No.8 502 Bad Gateway
As a gateway or proxy server received an invalid response from an upstream server, this may look like a refresh ~
No.9 305 using a proxy
305 codes mean, you can not directly access the site, in order to go through a proxy.
For example, we want to access certain external network can not directly access, a VPN is required before they can.
``