Apache Log Analysis

Source: Internet
Author: User
Tags apache log

 

This article is from the network security technology blog

Apache logs are generally stored in the/var/apache2 directory (for Windows, In the installation directory log folder)

 

If you change the log address, don't look at it...

 

========================================================== ========================================

 

The following is a log.

 

 

 

123.116.154.135/favicon. ico-[24/Jan/2011: 19: 31: 00 + 0800] "GET/HTTP/1.1" 200 4520 "-" "Mozilla/5.0 (Windows; U; windows NT 5.1; zh-CN; rv: 1.9.2.13) Gecko/20101203 Firefox/3.6.13"

 

It is simpler and clearer than iis apache logs

 

The preceding 123.116.154.135 is the visitor's IP address.

 

/Favicon. ico request file

 

[24/Jan/2011: 19: 31: 00 + 0800] indicates the access time.

Jan refers to the month, which is written in English.

Day/month/year hour: minute: Second

 

GET/HTTP/1.1 uses the http1.1 protocol to GET a file. Of course, if it is POST, it indicates it is POST.

 

200 status code, such as 404 failure to find webpage 500 server error, etc.

 

 

Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv: 1.9.2.13) Gecko/20101203 Firefox/3.6.13

Visitor Information: Firefox/3.6.13 WindowsNT5.1, WinXP

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.