AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically.

Steps to install and generate reports from Awstats on Windows machine

1) Download and Install Active perl from http://www.activestate.com/activeperl/downloads .
2)Download and install Awstats from http://awstats.sourceforge.net/#DOWNLOAD
3) Give path of local pache,httpd.conf and site name
4) Copy content of cgi-bin directory of Awstats  installed path and paste it into website directory.
5) Edit awstats.site.conf file and give path of apache log files.
6) To Run reports first do it manually through CLI
a)  go to www folder and give below commands. where gadget is name of “site”
perl awstats.pl -config=gadget -update
perl awstats.pl -config=gadget -output -staticlinks > awstats.gadget.html
perl awstats.pl -config=gadget -output=alldomains -staticlinks > awstats.gadget.alldomains.html
perl awstats.pl -config=gadget -output=allhosts -staticlinks > awstats.gadget.allhosts.html
perl awstats.pl -config=gadget -output=lasthosts -staticlinks > awstats.gadget.lasthosts.html
perl awstats.pl -config=gadget -output=unknownip -staticlinks > awstats.gadget.unknownip.html
perl awstats.pl -config=gadget -output=alllogins -staticlinks > awstats.gadget.alllogins.html
perl awstats.pl -config=gadget -output=lastlogins -staticlinks > awstats.gadget.lastlogins.html
perl awstats.pl -config=gadget -output=allrobots -staticlinks > awstats.gadget.allrobots.html
perl awstats.pl -config=gadget -output=lastrobots -staticlinks > awstats.gadget.lastrobots.html
perl awstats.pl -config=gadget -output=urldetail -staticlinks > awstats.gadget.urldetail.html
perl awstats.pl -config=gadget -output=urlentry -staticlinks > awstats.gadget.urlentry.html
perl awstats.pl -config=gadget -output=urlexit -staticlinks > awstats.gadget.urlexit.html
perl awstats.pl -config=gadget -output=browserdetail -staticlinks > awstats.gadget.browserdetail.html
perl awstats.pl -config=gadget -output=osdetail -staticlinks > awstats.gadget.osdetail.html
perl awstats.pl -config=gadget -output=unknownbrowser -staticlinks > awstats.gadget.unknownbrowser.html
perl awstats.pl -config=gadget -output=unknownos -staticlinks > awstats.gadget.unknownos.html
perl awstats.pl -config=gadget -output=refererse -staticlinks > awstats.gadget.refererse.html
perl awstats.pl -config=gadget -output=refererpages -staticlinks > awstats.gadget.refererpages.html
perl awstats.pl -config=gadget -output=keyphrases -staticlinks > awstats.gadget.keyphrases.html
perl awstats.pl -config=gadget -output=keywords -staticlinks > awstats.gadget.keywords.html
perl awstats.pl -config=gadget -output=errors404 -staticlinks > awstats.gadget.errors404.html

7) To view reports got to http://localhost/awstats.pl?config=mysite

Post By Dinesh (18 Posts)

Connect