error code means: system error code.
refers to the phenomenon that when people use software and hardware, the software and hardware cannot run normally.
Since there are many types of errors, in order to distinguish errors, the system will set error codes.
If there is an error in the operation of the software and hardware, the operator will be judged and identified based on the original settings and displayed through the error code. The operator can quickly find out what caused the software and hardware to malfunction through error code identification. The specific reason for the operation.
Explanation of various web page error codes (400.404.504, etc.)
1. Summary of the meaning of IIS status codes
When a user attempts to access content on a server running Internet Information Services (IIS) through HTTP or File Transfer Protocol (FTP), IIS returns a numeric code indicating the status of the request. This status code is recorded in the IIS log and may also be displayed in a web browser or FTP client. Status codes can indicate whether a specific request was successful and can also reveal the exact reason why the request failed. ?More information?
2. Log file location
By default, IIS places its log files in the %WINDIR\System32\Logfiles folder. Each World Wide Web (WWW) site and FTP site has a separate directory under this directory. By default, log files are created in these directories every day and named with the date (for example, exYYMMDD.log).
3. HTTP
1xx-Information prompt
indicates a temporary response. The client should be prepared to receive one or more 1xx responses before receiving a regular response.
100-Continue.
101-Switch protocol.
2xx-Success
Indicates that the server successfully accepted the client request.
200-OK. The client request was successful.
201-Created.
202-Accepted.
203-Non-authoritative information.
204-No content.
205-Reset content.
206-Part of the content.
3xx-Redirect
The client browser must take additional action to fulfill the request. For example, the browser may have to request a different page on the server, or repeat the request through a proxy server.
301-The object has been permanently moved, i.e. permanently redirected.
302-The object has been temporarily moved.
304-Unmodified.
307 - Temporary redirection.
4xx-Client Error
An error occurred and there seems to be a problem with the client. For example, the client requests a page that does not exist, and the client does not provide valid authentication information. 400 - Bad request.
401-Access Denied. IIS defines many different 401 errors, which indicate more specific error causes. These specific error codes show up in the browser but not in the IIS logs:
401.1 - Login failed.
401.2 - Server configuration caused login failure.
401.3 - Not authorized due to ACL restrictions on resources.
401.4-Filter authorization failed.
401.5-ISAPI/CGI application authorization failed.
401.7 – Access is denied by the URL authorization policy on the web server. This error code is specific to IIS6.0.
403 - Access Forbidden: IIS defines a number of different 403 errors, which specify more specific error causes:
403.1 - Execution access is forbidden.
403.2-Read access prohibited.
403.3-Write access is prohibited.
403.4-Require SSL.
403.5-Requires SSL128.
403.6-IP address rejected.
403.7 - Client certificate required.
403.8-Site access denied.
403.9-Too many users.
403.10-Invalid configuration.
403.11-Password change.
403.12 - Access to mapping table denied.
403.13-Client certificate revoked.
403.14 - Directory listing denied.
403.15 - Client access permission exceeded.
403.16 - The client certificate is not trusted or invalid.
403.17-The client certificate has expired or is not yet valid.
403.18 - The requested URL cannot be executed in the current application pool. This error code is specific to IIS6.0.
403.19 - CGI cannot be executed for clients in this application pool. This error code is specific to IIS6.0.
403.20-Passport login failed. This error code is specific to IIS6.0.
404-Not found.
404.0-(None) – No file or directory found.
404.1 - The web site cannot be accessed on the requested port.
404.2-Web service extension locking policy blocks this request.
404.3-MIME mapping policy blocks this request.
405-The HTTP verb used to access this page is not allowed (method is not allowed).
406 - The client browser does not accept the MIME type of the requested page.
407 - Proxy authentication required.
412-Precondition failed.
413 – The request entity is too large.
414-The request URI is too long.
415 – Unsupported media type.
416 – The requested range cannot be satisfied.
417 – Execution failed.
423 – Locking error.
5xx-Server Error
The server was unable to complete the request because it encountered an error.
500 - Internal server error.
500.12 - The application is busy restarting on the web server.
500.13-The web server is too busy.
500.15 - Direct requests to Global.asa are not allowed.
500.16 – Incorrect UNC authorization credentials. This error code is specific to IIS6.0.
500.18–URL authorization store cannot be opened. This error code is specific to IIS6.0.
500.100 - Internal ASP error.
501 - Header value specifies an unimplemented configuration.
502 - The web server received an invalid response while acting as a gateway or proxy server.
502.1-CGI application timed out.
502.2-CGI application error. application.
503 - Service unavailable. This error code is specific to IIS6.0.
504-Gateway timeout.
505-HTTP version is not supported.
FTP
1xx - Positive Initial Reply
These status codes indicate that an operation has started successfully, but the client would like another reply before proceeding with the new command .
110Restart Mark Reply.
120 Service is ready and will start in nnn minutes.
125The data connection is open and the transfer is starting.
150 The file status is normal and the data connection is ready to be opened.
2xx-Positive completion reply
An operation has been completed successfully. Clients can execute new commands.
200 command OK.
202 The command was not executed. There are too many commands on the site.
211 System status, or system help reply.
212 Directory status.
213File status.
214Help message.
215NAME system type, where NAME is the official system name listed in the AssignedNumbers document.
220 The service is ready to execute the new user's request.
221 Service closes the control connection. If appropriate, log out.
225 Data connection open, no transfer in progress.
226Close the data connection. The requested file operation was successful (for example, transferring the file or discarding the file).
227Enter passive mode (h1,h2,h3,h4,p1,p2).
230The user has logged in, continue.
250The requested file operation is correct and completed.
257 "PATHNAME" has been created.
3xx - Positive Intermediate Reply The command was successful, but the server needs more information from the client to complete processing the request.
331 The username is correct and a password is required.
332Requires a login account.
350 The requested file operation is pending further information.
4xx - Transient Negative Completion Reply The command was unsuccessful, but the error was temporary. If the client retries the command, it may succeed.
421 The service is unavailable and the control connection is being closed. This response will be sent to any command if the service determines that it must shut down.
425Unable to open data connection.
426Connectionclosed;transferaborted.
450The requested file operation was not performed. The file is unavailable (for example, the file is busy)
For more related knowledge, please pay attention to PHP Chinese website! !
The above is the detailed content of What does error code mean?. For more information, please follow other related articles on the PHP Chinese website!