[olug] Apache access_log reporting
Daniel Pfile
daniel at pfile.net
Thu Nov 20 18:14:09 UTC 2003
Exactly, you're not using the common log format (CLF) which is the
common denominator Jon is most likely using. Your apache setup has
referer and user agents being logged. That's how you get those. It
could be your distro did that for you. I think it's usually called CLF
extended.
-- Daniel
On Nov 20, 2003, at 11:40 AM, Ryan O'Rourke wrote:
> 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=
>
>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list