W3C 对 401 的定义. 401 Unauthorized The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.47) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity might include relevant diagnostic information. HTTP access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication". 再次检查授权.
程序就一句<?phpinfo();?>同目录下的html文件也访问不了
401 Unauthorized
The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.47) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity might include relevant diagnostic information. HTTP access authentication is explained in "HTTP Authentication: Basic and Digest Access Authentication".
再次检查授权.
-----------------------------IIS6配置不正确?
浏览器提示 HTTP 错误 401.1 网上查了一圈,都说是文件夹权限的问题,但是我的网站文件夹、phpinfo.php文件甚至整个盘符的权限都已经设置了,guests组 users组 IUSER_计算机名用户啥的都给权限了,本地安全策略里也把从网络访问的用户和组都添加了,还是不行。哪位高人给解解~~
这些都设置了 php.ini文件权限也给了
站点-》属性-》目录安全性-》身份验证和访问控制-》勾选启用匿名访问,请确保用户名和密码正确,并且确保用户名有权限读取网站目录。