From nobody@hyperreal.com Sun Apr 6 20:51:12 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.4/8.8.4) id UAA09147; Sun, 6 Apr 1997 20:51:12 -0700 (PDT) Message-Id: <199704070351.UAA09147@hyperreal.com> Date: Sun, 6 Apr 1997 20:51:12 -0700 (PDT) From: John Vinopal Reply-To: banshee@resort.com To: apbugs@hyperreal.com Subject: Refer logging sometimes incorrect. X-Send-Pr-Version: 3.2 >Number: 322 >Category: mod_log-any >Synopsis: Refer logging sometimes incorrect. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Apr 6 21:00:01 1997 >Originator: banshee@resort.com >Organization: >Release: 1.2b7 >Environment: FreeBSD 2.1.5; gcc 2.6.3 >Description: Referer logging does the wrong thing. Referer turned on with: CustomLog logs/referer_log "%{Referer}i -> %U" Yet some loads produce lines like: http://www.resort.com/services.html -> /wotd.html http://www.resort.com/services.html -> /images/wotd/0.gif http://www.resort.com/services.html -> /images/wotd/6.gif Where the bitmaps were loaded from wotd.html and certainly not from services.html >How-To-Repeat: Uncertain -- does CustomLog logs/referer_log "%{Referer}i -> %U" actually do refers correctly? Why isn't this desirable example in the docs? >Fix: >Audit-Trail: From: Marc Slemko To: John Vinopal Subject: Re: mod_log-any/322: Refer logging sometimes incorrect. Date: Sun, 6 Apr 1997 22:27:45 -0600 (MDT) Can you reproduce the problems on demand? If so, there are a few more tests we can do. If not, can you try adding a log of the User-agent to the referrer log so we can see if it is just one client that is doing it. If so, it is likely a client error. The server will listen to whatever the client says so if the client is giving the server incorrect information there isn't anything the server can do about it. It is possible that it is an Apache bug, but I would be inclined to mistrust the client first. The way you are specifying your referer log looks fine. You may also want to try the (somewhat obsolete) mod_log_referer module to see if it logs the same thing. From: Marc Slemko To: apbugs@apache.org Subject: Re: mod_log-any/322: Refer logging sometimes incorrect. (fwd) Date: Mon, 7 Apr 1997 00:24:10 -0600 (MDT) ---------- Forwarded message ---------- Date: Sun, 6 Apr 1997 21:42:12 -0700 (PDT) From: John M Vinopal To: marcs@znep.com Subject: Re: mod_log-any/322: Refer logging sometimes incorrect. >The way you are specifying your referer log looks fine. You may also want >to try the (somewhat obsolete) mod_log_referer module to see if it logs >the same thing. I have this compiled in presently and will inform if it produces similar results. I will also try dumping the client ident to see if theres a particular client responsible. -j State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Tue Apr 22 08:07:25 PDT 1997 State-Changed-Why: User reports it appears to be a client issue. From: Marc Slemko To: apbugs@apache.org Subject: Re: mod_log-any/322: Refer logging sometimes incorrect. (fwd) Date: Tue, 22 Apr 1997 09:04:56 -0600 (MDT) ---------- Forwarded message ---------- Date: Wed, 9 Apr 1997 02:28:23 -0700 (PDT) From: John M Vinopal To: marcs@znep.com Subject: Re: mod_log-any/322: Refer logging sometimes incorrect. Based one 2 days worth of user agent dumps, I would close this bug as a client issue. The AOL-IWENG 3.0 and 3.1 clients sometimes fail to set the referer. All others appear fine. Bad AOL. Let me know if you need any more information. -j >Unformatted: >Last-Modified: Tue Apr 22 08:07:26 PDT 1997