Apache Log split and log analysis

Source: Internet
Author: User
Tags create directory apache log
Apache Log Split
1. Configure HTTPD master configuration, create a file ending with Conf in the HTTPD sub-configuration directory, and add configuration information

2. Create directory, add homepage, restart Service, turn off firewall

3, visit the webpage, more refresh several times, view the access log

Apache Log Analysis
1, the Awstats tool decompression, and mobile easy to manage

2, install the configuration awstats, only need to add the main configuration file and URL, all other return or Yes

3. Modify the HTTPd profile vim/etc/httpd/conf/httpd.conf and view it at the end

4, modify the profile of the analysis file vim/etc/awstats/awstats.www.benet.com.conf

5. Restart the service, close the firewall, test http://www.benet.com/awstats/awstats.pl?config=www.benet.com on win

6, update awstats data, optimize the URL too long problem. Data updates are not automatically updated, you can set recurring tasks

7, in the win input www.benet.com/awb.html

Apache Log split and log analysis

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.