Marketplace:

 
Domain name registration: Cheap domain names from 895cheap-domain.com
Cheap domain registration, buy domain name or transfer domain names at affordable price
Register domain name or buy domain registration from $2.95 per domain year

 

   

Web Log Summaries

next up previous contents index

A very nice web log analyser and summary generator is awstats. Install the package:



  # wajig install awstats


This will give you a statistics summary page at http://localhost/cgi-bin/awstats.pl. You will need to enable icons by adding the following line to your apache configuration file /etc/apache/httpd.conf:



  Alias /awstats-icon/ /usr/share/awstats/icon/


Also you may like to include browser and host OS information in the summary by using the apache combined log format:



  LogFormat=1


Be sure the apache generates this information (the default is not to). Your /etc/apache/httpd.conf should contain:



  CustomLog /var/log/apache/access.log combined


To allow the analyser to run through the apache log files (/var/log/apache/access) it needs permission to be able to read them. The simplest approach is to:



  # chmod o+r /var/log/apache/access*


The summary log file can now be generated with:



  # /usr/lib/cgi-bin/awstats.pl -config=awstats -update


(This is what cron also runs every 10 minutes, by default.)


Copyright (c) 1995-2004

 

      

Marketplace:
Facts: " The ultimate metric that I would like to propose for user friendliness is quite simple: if this system was a person, how long would it take before you punched it in the nose.   "  

Tuesday 22 May 2012 22:49:57 1337726997