I have the following lines in my log file:
1.1.1.1 - - [08/Jun/2005:09:18:32 +0200] "GET /" 400 1046 (0) "-" "-"
1.1.1.2 - - [08/Jun/2005:09:56:09 +0200] "GET
/computicket/images/btn_purchase_on.gif HTTP/1.1" 620018 - (0)
"https://www1.computicket.com/booking/computicket/Applet/?AcceptAndPay=AcceptAndPay&height=599&width=1004&random=0.41564432016943065"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
1.1.1.3 - - [08/Jun/2005:06:27:49 +0200] "GET /computicket/styles/style.css
HTTP/1.1" 200 9410 (9)
"http://www1.computicket.com/booking/computicket/PreNav/;jsessionid=F1DBDC81D5684FAB5D3814068B4B005D?PreNav=<NavState%20State=\"VenueEvent\"%20ProductDesc=\"National%20Arts%20Festival%20Main%20-%202005\"%20ProductId=\"16090\"%20Festival=\"true\"%20/>&phase=check"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)"
And I have the following apache log format configured (which throws the lines
above out as errors):
APACHELOGFORMAT '%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"'
APACHELOGFORMAT '%h %l %u %t \"%r\" %>s %b %T \"%{Referer}i\"
\"%{User-Agent}i\"'
APACHELOGFORMAT '%h %l %u %t \"%r\" %>s %b (%T) \"%{Referer}i\"
\"%{User-Agent}i\"'
I have no idea why the first line fails.
The second line fails because the status code is invalid. How do I handle this?
The third line fails because the referrer has " in the string. How do I handle
this?
Thanks
Alex
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------