However, this is not the best way. When your referrer and user agent logs are separate, Wusage cannot display these reports as part of your normal daily, weekly or monthly usage reports. We recommend that you take the following steps:
1. Make sure the mod_log_config Apache "module" is compiled into your server. See the Apache documentation for details.
2. Add the following line to your httpd.conf
file in the Apache conf
directory:
LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""(note that referrer must be spelled with only two r's when configuring Apache. For Wusage we chose to go with the spelling in the dictionary.)
3. When you have done both of these things, restart
the Apache server on the fly using the kill -1
Unix command.
The Apache server will now log in the usual "common log format," with the addition of two new fields, referrer and user agent.
default.htm
which is included in the
zip file. The filter is distributed by the
ISAPI developer's
site, a useful service run by Steven Genusa. We are not associated
with the ISAPI developer's site in any way. We do not provide
technical support for software not written by Boutell.Com, Inc.
Please see the file default.htm
included with
the filter software for installation instructions.
Once you have the filter installed, Wusage 5.01 will recognize
the user agent and referrer fields in the resulting log files.
Be sure to turn on the referrers
and useragents
options in your
configuration file.
The original release of Wusage 5.0 for NT did not recognize these new fields. Version 5.01 adds this capability and can be downloaded here. There is no charge to upgrade from 5.0 to 5.01.
Below is an example of the common log format, extended to include referrer and user agent information.
foo.bar.com - - [20/Apr/1997:16:48:44 -0700] "GET /boutell/index.html HTTP/1.0" 200 5898 "http://www.altavista.digital.com/query" "Mozilla/3.01 (Macintosh; I; PPC)"Please note: Boutell.Com does not provide web server configuration technical support. This information is provided purely as a supplement to the manuals of your web server software.
Wusage Home Page | Next |
Copyright 1996, Boutell.Com,
Inc.
wusage@boutell.com
Boutell.Com, Inc - PO Box 20837, Seattle WA, 98102, USA
Phone/Fax
+1 206.325.3009