On Wed, 18 Jul 2001 [EMAIL PROTECTED] wrote:

>       I am getting several thousand lines rejected by analog 5.0 when
> running against an apache/stronghold web server.  Looking at the line below
> it seems to be caused by the space between '09-NEWCASTLE' and 'RO.gif'
> towards the end of the line.  It is probably confusing analog as to which
> parameter it is reading or making it look as if there are to many
> parameters.  I could run all the log files through sed or the like to remove
> the space but there are lots of different .gifs with spaces in them, so is
> there another way to get around this?  Given that it is a legal filename
> could analog be changed to handle this or is it too complex ?
> 
>               Regards Jamie
> 
> sample error from the errlog:
> 
> 
>       C: 217.1.115.212 - - [02/Jul/2001:00:51:55 +0100] "GET
> /near-you/in-the-north/maps/09-NEWCASTLE%20RO.gif HTTP/1.1" 200 51167
> "http://www.open.ac.uk/near-you/in-the-north/contacts.htm"; "Mozilla/4.0
> (compatible; MSIE 5.5; Windows NT 5.0; COM+ 1.0.2204)" GET
> /near-you/in-the-north/maps/09-NEWCASTLE RO.gif - "HTTP/1.1"

Presumably you're not analysing this field or anything past it, so you can
just declare the rest of the line after the browser as %j.

PS Why is everything in your logfiles twice anyway? What a waste of disk
space!

-- 
Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to