Apache Error Code 错误内部码以及说明(转载)
Code Number Browser
Error Message Description
200 none This is the normal response where a page has been successfully fetched
301 none Page has moved permanently. usually a response from implementing a 301 redirect
302 none Page has moved temporarily
304 none Page has not been modified since last request (this is an OK response)
400 Bad Request The request could not be understood by the server due to incorrect syntax.
401 Unauthorized User authentication is required.
403 Forbidden The server understood the request, but is refusing to fulfill it.
404 Page Not Found The server has not found anything matching the Request-URI.
405 Method
Not Allowed The method specified in the Request-Line is not allowed
for the resource identified by the Request-URI.
406 Not Acceptable The server cannot generate a response that the requestor is willing to accept.
407 Proxy
Authentication Required This code is similar to 401 (Unauthorized),
but indicates that the client must first authenticate itself with the
proxy.
408 Request Timed Out The server stopped waiting for a client request.
409 Conflict The request could not be completed due to a conflict with the current state of the resource.
410
Gone The requested resource is no longer available at the server and
no forwarding address is known. This condition is similar to 404, except
that the 410 error condition is expected to be permanent.
411. Length Required The server requires a content-length in the request
412 Precondition
Failed The precondition given in one or more of the request-header
fields evaluated to false when it was tested on the server.
413 Request
Entity Too Large The server is refusing to process a request because
the request entity is larger than the server is willing or able to
process.
414 Request URL Too Long The server is refusing to
service the request because the Request-URI is longer than the server is
willing to interpret.
415 Unsupported Media Type The server is
refusing to service the request because the entity of the request is in a
format not supported by the requested resource for the requested
method.
500 Server Error Internal Web server error
501 No Server Function not implemented in Web server software
502 Server Overload Bad Gateway; a server being used by this Web server has sent an invalid response.
503 Service Unavailable Service unavailable because of temporary overload or maintenance.
504 Gateway Timeout A server being used by this server has not responded in time.
505 HTTP Version Not Supported The server does not support the HTTP protocol version that was used in the request message.
本文详细介绍了Apache服务器中常见的错误代码及其含义,包括正常响应、重定向、请求错误、服务器错误等各类状态码。
165

被折叠的 条评论
为什么被折叠?



