Craig <[EMAIL PROTECTED]> (Friday, September 19, 2003 3:08 PM):

> I am having trouble getting my apachelogformat parameters correct for my 
> logfiles. Can someone pls point out my error?

> the conf file has
> "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"

> here is entire logfile (cut down to one for localizing my problem)
> 217.210.241.58 www.xyz.com - - [13/Sep/2003:08:09:25 -0600] "GET / 
> HTTP/1.1" 200 6925 "http://www.kiosks.org/developers.shtml"; "Mozilla/4.0 
> (compatible; MSIE 6.0; Windows NT 5.1)"

> I tried
> #APACHELOGFORMAT ($S %u %j %j [%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b %f %j)

> I do not see any errors called out in the errors txt except that a 
> corrupt line was found.

APACHELOGFORMAT command uses the Apache symbols. So just do this (on
one line):

APACHELOGFORMAT (%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i")


The format parameters you are using above are for the LOGFORMAT
command.


--

Jeremy Wadsack
Wadsack-Allen Digital Group

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to