IIS log file analysis and Status code interpretation

Source: Internet
Author: User
Keywords IIS search engine Baidu

When a user attempts to access content on a server that is running Internet information Services (IIS) through HTTP or File Transfer Protocol (FTP), IIS returns a numeric code that represents the state of the request. The status code is recorded in the IIS log and may also be displayed in a Web browser or FTP client. The status code can indicate whether a specific request has been successful, and also reveal the exact cause of the request failure.

The IIS default log file is in c:\windows\system32\loghttp://www.aliyun.com/zixun/aggregation/19352.html ">files," The following is the seoer of the server log, through the view, you can understand the search engine spider crawling through, such as:

2008-08-19 00:09:12 w3svc962713505 203.171.226.111 get/index.html-80-61.135.168.39 baiduspider+ (+http:// www.baidu.com/search/spider.htm) 200 0 64

1, 203.171.226.111 is the search engine spider to ask the website IP,

2, 61.135.168.39 Baiduspider representative, Baidu search engine spider IP is 61.135.168.39

3, the code in the/index.html on behalf of the search engine Spider-proofing page

4, 2008-08-19 00:09:12 on behalf of the search engine spider crawling Date and time

5, w3svc962713505 represents the Web site log folder

6. http://www.baidu.com/search/spider.htm Baiduspider FAQ Page

7, the code of 200 on behalf of the search engine spider crawling back to the HTTP status code, the code can understand the spider crawling after the reflection, code as follows:

1XX-Information Tips
These status codes represent temporary responses. The client should be prepared to receive one or more 1xx responses before receiving a regular response. • 100-Continue.
• 101-Switch protocol.
2XX-Success
This type of status code 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 more action to implement the request. For example, a browser might have to request a different page on the server, or repeat the request through a proxy server. • 302-Object moved.
• 304-unmodified.
• 307-Temporary redirection.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.