[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] RaQ3 Stats program



I got Urchin to work by doing the following changes in my httpd.conf and
urchin config file.

1. Set HostnameLookups to: HostnameLookups on

2. in the area with LogFormat lines change the first line as below and
comment out the other 3

LogFormat "%h %v %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
#LogFormat "%h %l %u %t \"%r\" %>s %b" common
#LogFormat "%{Referer}i -> %U" referer
#LogFormat "%{User-agent}i" agent

3. next make sure the CustomLog dirctive reads like:

CustomLog /var/log/httpd/access combined

next in the config file for Urchin I have:
#----------- multi-site example (sharing a single log file) ----------
<Report>
SubreportMode:      on
SubreportField:     1
SubreportFilter:    \.(.*)
ReportDirectory:    /home/sites/www.$1/web/sitereport
ReportName:         $1
ReportDomains:      $1
ReportURL:          http://$1/sitereport/
MailProgram:        /usr/sbin/sendmail
EmailReports:       off
ReportEmail:        webmaster@$1
TransferLog:        /var/log/httpd/access
FilterOut:          sitereport
</Report>

This is for a single logfile, multi-site example.  Please save a backup of
httpd.conf and config befor making changes.

This works great for me! May not for others.

If you have any questions feel free to e-mail me privately.

Michael Aronoff - CIIC
ma@xxxxxxxx <mailto:ma@xxxxxxxx>
Calabasas, CA
818-591-7825


-----Original Message-----
From: Michael Martin [mailto:michael@xxxxxxxxxxxxxx]
Sent: Monday, February 28, 2000 11:53 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] RaQ3 Stats program


I have been trying to configure Urchin, with no luck. When I run Urchin for
the first time it gives two errors. The first, "warning 5101", says the
logfile does not exist. The second, "warning 5421" says there's a problem
with format. What logfile mode should I be using, one big logfile or one per
site?