[olug] Apache access_log reporting

Ryan O'Rourke ryano at ch-gifts.com
Thu Nov 20 17:40:54 UTC 2003


On Thu, 2003-11-20 at 11:40, Jon H. Larsen wrote:
> On Thu, 20 Nov 2003, Trent Melcher wrote:
> > What versions of Webalizer are you using??
> 
> 2.01
> 
> > Really? Mine does. In fact, it offers links to the referring search
> > engines and gives a list of the actual search stings.
> 
> I'm using the default config, is there some option that needs to be set?

I don't think so... I learned to use Webalizer about 3 years ago and
ever since I can remember it's given me those stats - pretty sure I've
never messed with the default config either. 
You do need to make sure your Apache logs are set up to log referrers.

Relevant (?) snippets of config files in question follow:

## Begin httpd.conf
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %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
                                                                                                                    
## Begin webalizer.conf
# The SearchEngine keywords allow specification of search engines and
# their query strings on the URL.  These are used to locate and report
# what search strings are used to find your site.  The first word is
# a substring to match in the referrer field that identifies the search
# engine, and the second is the URL variable used by that search engine
# to define it's search terms.
                                                                                                                    
SearchEngine    yahoo.com       p=
SearchEngine    altavista.com   q=
SearchEngine    google.com      q=
SearchEngine    eureka.com      q=
SearchEngine    lycos.com       query=
SearchEngine    hotbot.com      MT=
SearchEngine    msn.com         MT=
SearchEngine    infoseek.com    qt=
SearchEngine    webcrawler      searchText=
SearchEngine    excite          search=
SearchEngine    netscape.com    search=
SearchEngine    mamma.com       query=
SearchEngine    alltheweb.com   query=
SearchEngine    northernlight.com  qr=





More information about the OLUG mailing list