Duke Hillard wrote:

http://httpd.apache.org/docs/2.0/logs.html
(see section about Virtual Hosts near end of page)

Thanks, now I have a Apache format like this:

LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vcombined

Which gives me log-lines like this:

so.moso.dk 172.16.0.121 - - [23/Nov/2005:09:43:04 +0100] "GET /holiday/galleries.html HTTP/1.1" 200 2821 "http://so.moso.dk/"; "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5"

And I then simply added a line like this to analog.cf:

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

Now it works perfectly :D Thanks for all the help guys.

/Søren

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to