Setting up AWStats on Debian

April 11th, 2008

To setup AWStats on Debian with Apache, I followed these steps.

apt-get install awstats

I read through the examples in /usr/share/doc/awstats/examples/, and I edited /etc/awstats.conf to have SiteDomain="*" and:

LogFormat = "%other %host %time1 %methodurl %code %bytesd %uaquot"

as I use a custom log format.

Then I ran:

/usr/lib/cgi-bin/ -config=/etc/awstats/awstats.conf

Copied /usr/share/doc/examples/apache.conf to conf.d and we're good to go!

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022