[lug] Apache Logs

jdavis lug at taproot.bz
Wed Dec 11 17:56:59 MST 2002


On Thu, 2002-12-12 at 11:46, Jeff Schroeder wrote:
> jdavis wrote:
> 
> >   can someone suggest a package to parse apache logs
> > and report how users got to a page...i.e. via google or alta vista.
> 
> I've been using Analog (http://www.analog.cx) for several years and it's 
> wonderful.  Very fast, very powerful, very flexible, very configurable.
> 
> To get your Google/AltaVista results, you'll need to turn on the 
> "referrer" report in Analog, and of course your Apache logs will have 
> to be recording the referrer page, so in httpd.conf you'll need 
> something like:
> 
> LogFormat "%h %l %u %t \"%r\" %>s %b \"{Referer}i\" referrals
> 
> and in your VirtualHost (or however you're doing it) you'll have to set 
> the log format to match what you just defined:
> 
> CustomLog /var/log/mywebsite.log referrals
> 
> HTH,
> Jeff

yes , that did help :)

thanks alot,
jd




More information about the LUG mailing list