开发学院服务器WEB服务器IIS Http 403错误重现实验及解决方法 阅读

Http 403错误重现实验及解决方法

 2012-10-22 11:42:39 来源:WEB开发网   
核心提示: 403是Web服务器返回的一种非常常见的错误代码,Http协议中对403错误定义如下,Http 403错误重现实验及解决方法,403 ForbiddenThe server understood the request, but is refusing to fulfill it. Authorization wil


403 Forbidden
The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. If the server does not wish to make this information available to the client, the status code 404 (Not Found) can be used instead.
IIS 7.0 defines the following HTTP status codes that indicate a more specific cause of a 403 error:

   403.1 - Execute access forbidden.
   403.2 - Read access forbidden.
   403.3 - Write access forbidden.
   403.4 - SSL required.
   403.5 - SSL 128 required.
   403.6 - IP address rejected.
   403.7 - Client certificate required.
   403.8 - Site access denied.
   403.9 - Forbidden: Too many clients are trying to connect to the Web server.
   403.10 - Forbidden: Web server is configured to deny Execute access.
   403.11 - Forbidden: Password has been changed.
   403.12 - Mapper denied access.
   403.13 - Client certificate revoked.
   403.14 - Directory listing denied.
   403.15 - Forbidden: Client access licenses have exceeded limits on the Web server.
   403.16 - Client certificate is untrusted or invalid.
   403.17 - Client certificate has expired or is not yet valid.
   403.18 - Cannot execute requested URL in the current application pool.
   403.19 - Cannot execute CGI applications for the client in this application pool.
   403.20 - Forbidden: Passport logon failed.
   403.21 - Forbidden: Source access denied.
   403.22 - Forbidden: Infinite depth is denied.
   403.502 - Forbidden: Too many requests from the same client IP; Dynamic IP Restriction limit reached.
[403.1 403.3]
造成403.1 - 403.3的主要原因是由于handler需要的权限受到Handler Mapping中启用的权限的限制。
如何查看handler需要的权限?可以通过IIS Manager - Handler Mapping,根据请求的扩展名找到相应的Handler,比如我们请求.asp文件的时候报错403.3,找到处理.asp文件的handler为ASPClassic这个handler,双击打开这个handler的Script Map - Request Restrictions - Access,可以查看该handler需要的权限。在这里为了重现403.3问题,我将需要权限设置为write。

1 2 3  下一页

Tags:Http 错误 重现

编辑录入:爽爽 [复制链接] [打 印]