view page source - page history - about editing

Revision History: awstats

This is revision 278 of the page awstats, as it appeared on Mon, 02 Dec 2013 15:04:31 -0800.
awstats is a web statistics program.
  1. Installing awstats on Ubuntu 12.04

Apache Log Format

If your Apache log config (in /etc/apache2/apache.conf) defines a log format like this:

LogFormat "%v:%p %h %l %u %t "%r" %>s %O "%{Referer}i" "%{User-Agent}i"" vhost_combined

Then you need to modify the awstats.domain.conf LogFormat and HostAliases:

LogFile="/var/log/apache2/other_vhosts_access.log"
LogFormat="%virtualname %host %other %logname %time1 %methodurl %code %bytesd %refererquote %uaquot"
HostAliases="localhost 127.0.0.1 jevon.org:80"

Categories: Software | Web

view page source - what links to here? - page history - top
Last edited by jevon jevon 59 months ago