This is a perl5 script that produces a report listing all the places on the Web people have come from, sorted by where they went.

Webtrace has been tested under both Linux/Apache 1.0+ and WinNT/WebSite 1.1+ environments.

It analyzes a specially modified version of the Common Log Format web server log files to produce a listing of referers.

This type of Web server log format is becoming known as the "Combined CERN/NCSA" log format (This is how WebSite 1.1 identifies it).

If you use the Apache Web server, you can implement this type of log by enabling support for configurable logging, and using the following line in the httpd.conf file:

LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""


Webtrace is distributed under the terms of the Free Software Foundation's General Public License, version 2.

Getting Webtrace

You can retrieve a copy of Webtrace from:


       webtrace config-file-name.cfg 
Invoking webtrace from a cron job or other program scheduling facility to get updated statistics on a daily basis works well.


You can see Webtrace in action at the Obscure Organization.