[olug] Apache access_log reporting
Jon H. Larsen
relayer at levania.org
Thu Nov 20 19:44:02 UTC 2003
On 20 Nov 2003, Ryan O'Rourke wrote:
> Date: 20 Nov 2003 11:40:54 -0600
> From: Ryan O'Rourke <ryano at ch-gifts.com>
> Reply-To: Omaha Linux User Group <olug at olug.org>
> To: Omaha Linux User Group <olug at olug.org>
> Subject: RE: [olug] Apache access_log reporting
>
> 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=
My http.conf
***********
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
CustomLog logs/access_log combined
Webalizer defaults to CLF unless you specify not to.
Jon L.
--
Jon H. Larsen - email: relayer at levania dot org
Omaha Linux Users Group - http://www.olug.org
ICQ#: 10412618 - http://www.levania.org/~relayer/
PGP Pubkey - http://www.levania.org/~relayer/relayerpubkey.txt
More information about the OLUG
mailing list