Apache not logging referrers

This is a discussion on Apache not logging referrers within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, I'm using Apache 2.0.46 on WinXP (yeah, I know.) When I go to check the logs ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-17-2003
Abe Frohnman
 
Posts: n/a
Default Apache not logging referrers

Hello,

I'm using Apache 2.0.46 on WinXP (yeah, I know.) When I go to check the
logs I've noticed that none of the referrering sites are being logged. A
typical entry looks like this:

64.36.xxx.xxx - - [17/Aug/2003:13:21:42 -0700] "GET / HTTP/1.1" 200 49

I've tried referring to my site from a half-dozen others, to ensure it
wasn't something on the server side. Anyone know what I need to do to
get Apache to start logging this info?

Thanks!

  #2 (permalink)  
Old 08-17-2003
Bert Brunekreeft
 
Posts: n/a
Default Re: Apache not logging referrers

"Abe Frohnman" <usenetNO@SPAMexperimentzero.org> wrote in message
news:OrR%a.2496145$ZC.358248@news.easynews.com...
> Hello,
>
> I'm using Apache 2.0.46 on WinXP (yeah, I know.) When I go to check the
> logs I've noticed that none of the referrering sites are being logged. A
> typical entry looks like this:
>
> 64.36.xxx.xxx - - [17/Aug/2003:13:21:42 -0700] "GET / HTTP/1.1" 200 49
>
> I've tried referring to my site from a half-dozen others, to ensure it
> wasn't something on the server side. Anyone know what I need to do to
> get Apache to start logging this info?
>
> Thanks!
>


Check your log settings in httpd.conf
There should be something like this:


LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
CustomLog logs/access.log combined

This will log not only the referer, but also the type of browser your
visitors use.

Greets,

Bert


  #3 (permalink)  
Old 08-17-2003
Abe Frohnman
 
Posts: n/a
Default Re: Apache not logging referrers

That worked. I uncommented the CustomLog line, and its all good now. Thanks!

Bert Brunekreeft wrote:

> Check your log settings in httpd.conf
> There should be something like this:
>
>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
> combined
> CustomLog logs/access.log combined
>
> This will log not only the referer, but also the type of browser your
> visitors use.
>
> Greets,
>
> Bert


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0