IIS log状态

Log File Locations

By default, IIS stores its log files in the following location:

%WINDIR%\System32\Logfiles

This directory contains separate directories for each World Wide Web (WWW) and FTP site. By default, logs are created daily in the directories and are named by using the date (for example, exYYMMDD.log). For more information about how to set up logging, click the following article number to go to the article in the Microsoft Knowledge Base:

313437 How to enable logging in Internet Information Services (IIS)

HTTP

1xx - Informational

These status codes indicate a provisional response. The client should be prepared to receive one or more 1xx responses before receiving a regular response.

  • 100 - Continue.
  • 101 - Switching protocols.

2xx - Success

This class of status codes indicates that the server successfully accepted the client request.

  • 200 - OK. The client request has succeeded.
  • 201 - Created.
  • 202 - Accepted.
  • 203 - Non-authoritative information.
  • 204 - No content.
  • 205 - Reset content.
  • 206 - Partial content.
  • 207 - Multi-Status (WebDay).

3xx - Redirection

The client browser must take more action to fulfill the request. For example, the browser may have to request a different page on the server or repeat the request by using a proxy server.

  • 301 - Moved Permanently
  • 302 - Object moved.
  • 304 - Not modified.
  • 307 - Temporary redirect.

4xx - Client Error

An error occurs, and the client appears to be at fault. For example, the client may request a page that does not exist, or the client may not provide valid authentication information.

  • 400 - Bad request.
  • 401 - Access denied. IIS defines several different 401 errors that indicate a more specific cause of the error. These specific error codes are displayed in the browser but are not displayed in the IIS log:
    • 401.1 - Logon failed.
    • 401.2 - Logon failed due to server configuration.
    • 401.3 - Unauthorized due to ACL on resource.
    • 401.4 - Authorization failed by filter.
    • 401.5 - Authorization failed by ISAPI/CGI application.
    • 401.7 – Access denied by URL authorization policy on the Web server. This error code is specific to IIS 6.0.
  • 403 - Forbidden. IIS defines several different 403 errors that indicate a more specific cause of the 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 - Too many users.
    • 403.10 - Invalid configuration.
    • 403.11 - Password change.
    • 403.12 - Mapper denied access.
    • 403.13 - Client certificate revoked.
    • 403.14 - Directory listing denied.
    • 403.15 - Client Access Licenses exceeded.
    • 403.16 - Client certificate is untrusted of invalid.
    • 403.17 - Client certificate has expired or is not valid.
    • 403.18 - Cannot execute requested URL in the current application pool. This error code is specific to IIS 6.0.
    • 403.19 - Cannot execute CGIs for the client in this application pool. This error code is specific to IIS 6.0.
    • 403.20 - Passport logon failed. This error code is specific to IIS 6.0.
  • 404 - Not found.
    • 404.0 - (None) – File or directory not found.
    • 404.1 - Web site not accessible on the requested port.
    • 404.2 - Web service extension lockdown policy prevents this request.
    • 404.3 - MIME map policy prevents this request.
  • 405 - HTTP verb used to access this page is not allowed (method not allowed.)
  • 406 - Client browser does not accept the MIME type of the requested page.
  • 407 - Proxy authentication required.
  • 412 - Precondition failed.
  • 413 – Request entity too large.
  • <
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值