On Tue, 15 Jun 1999, Mark Avnet wrote:
>
> This is the log format line I am using in the config file:
> 
> APACHELOGFORMAT (%h %l %u %t "%{referer}i" -> %v "%r" %>s %b
> [%{user-agent}i])
> 
> Here are the first several lines of my logfile:
> 
> 205.231.86.183 - - [02/Jun/1999:15:19:50 -0400] "-" -> redding.nfic.com
> "GET / HTTP/1.0" 304 - [Mozilla/4.6 [en] (WinNT; U)]
> 205.231.86.183 - - [02/Jun/1999:15:19:50 -0400]
> "http://redding.nfic.com/" -> redding.nfic.com "GET /apache_pb.gif
> HTTP/1.0" 304 - [Mozilla/4.6 [en] (WinNT; U)]

Sorry for taking a couple of days over this, but I've tracked it down.

The problem is that putting the browser in square brackets (instead of the
usual quote marks) is unsafe, because the browser string contains square
brackets itself. It looks to analog as if the browser is
  Mozilla/4.6 [en
and then it finds some junk looking like
   (WinNT; U)]
on the end of the line and rejects it as corrupt.

-- 
Stephen Turner    [EMAIL PROTECTED]    http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
  "Due to the conflict in Kosovo, we will not be showing the movie Wag the
   Dog. Instead, we will show Mortal Kombat: Annihilation." Cable & Wireless

------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to