Http Code 401

Code Http 401

The request was not applied because it lacks valid authentication information for the target resource. Corrected a problem with 401 Unauthorized, the HTTP status code for authentication errors. Here is a list of Hypertext Transfer Protocol (HTTP) response status codes.

HTTP 401, 403, 404, and 500 HTTP Returns What Do They Mean? - FAQS

An HTTP state code. What is it? Every time a web browser asks for information, the web browser replies with a state code. You can obtain more information about the fault if an fault has occurred. The most common fault code and a short explanation can be found in the following table. Unauthorized HTTP Failure 401 Unauthorized State code 401 indicates that the HTTP query has not been used because it does not contain strong authentification information (usually user name and password) for the destination device.

401 indicates that authorisation for that credential has been denied. This is an authorizations problem. Often this happens when there is no index filename (.htm,.html or.php) and the list of directories for a webspace location is disabled (line "Options -Indexes" in a.htaccess file).

Occasionally, there has been provision of credentials, but the credentialed credential is not allowed to display the contents of the directory or data set. In other cases, operations are prohibited for all operators. Occasionally, this fault may occur if too many simultaneous links exist. 404 HTTP state not found This errors report is displayed when a Web site or directory is requesting on a Web site but cannot be found at the specified WebResource.

This means that the current or assigned name of the service is not available. The php_error.log can be checked as described for state code 500.

4××× Client error

Requirement was not met because it does not have validation information for the destination object. Sending a WWW authentification headerset1 that contains at least one Challenge for the destination must be done by the 401 answer generator serving the 401 answer. 401 indicates that authorisation for that credential has been denied.

It is allowed for the operator representative to duplicate the requirement with a new or substituted authorisation Header2. When the 401 answer contains the same challenges as the previous answer, and the operator has already tried to authenticate at least once, the operator should present the included presentation to the operator, as it usually contains pertinent diagnostics information.

Auch interessant

Mehr zum Thema