Shark: A brief talk on log syntax and HTTP status codes

Source: Internet
Author: User
Keywords SEO

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

In the process of SEO to view the IIS log is a very important thing, especially when the page made a relatively large changes, through the log detection, you can find a lot of interesting questions. Now the space provides the function of the log query, and the log is generally stored in the root directory of the site log, Wwwlog, LogFiles, and other similar directories, through the download of similar files extracted can be used Notepad to view.

Below I intercept a section of code for analysis.

2010-07-24 02:20:57 w3svc133 221.231.137.66 get http://zuyupen5.com/index.html–80–123.125.66.111 baiduspider+ (+http ://www.baidu.com/search/spider.htm) 200 0 64 0

2010-07-24 02:20:57 Spider's Access time

221.231.137.66 Access IP Address

W3SVC133 Machine code

Get Request method

/index.html Requested URL

80 Server port number

123.125.66.111 Server IP

Baiduspider Baidu Spider

200 0 64 0 200 to indicate the success of the request, 64 means that Baidu's crawling of the page is not fully read finished, in the process of crawling abandoned, belonging to an error code, and the last data is 0, then the crawl page size byte is 0.

200 0 64 status codes are: Sc-status (protocol status, 200 in this connection success) Sc-substatus (Protocol sub State) Sc-win32-status (Win32 status code, 64 is the specified network name is not available

Look at the second one:

2010-07-24 12:37:39 w3svc133 221.231.137.66 get http://zero07.cn/501.html-80–203.208.60.79 mozilla/5.0+ (compatible;+ googlebot/2.1;++http://www.google.com/bot.html) 200 0 0 6503

/501.html Requested URL

Compatible refers to compatibility

Googlebot Google Robot

200 0 0 6503 requests succeeded and downloaded 6503 bytes of data.

Generally we just look at Baidu and Google Spider can be, the other way, no example. Below I enumerate the common HTTP status codes:

1XX (temporary response); 2xx (success); 3xx (redirected); 4xx (request error); 5xx (server error);

200– Server successfully returned Web page

301-Permanent Resource redirection

302-Temporary resource redirection

304-The page is changed after the last get

403-The server has requested, but not yet executed

404-Request Error or request failed

505-http Version not supported

Do not need too much, the above HTTP status code can read well, other status code is less common, so do not remember, use the time you find in the search engine can be.

This article address: http://zero07.cn/archives_95.html, reprint please keep. A5 Starter

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.