Aengus wrote:

On Tuesday, November 22, 2005 7:06 AM [EDT],
iBiker <[EMAIL PROTECTED]> wrote:

Ive looked in the docs for this, but ive failed to find anything, so
im wondering if it cant be done, or if its just me that cant find it.

I have some subdomains (so.moso.dk, mo.moso.dk and so on), can i get
analog to make statistics on the percentage of hits to the different
subdomains for my domain?

The Virtual Host Report (VHOST ON) should do what you need.
Yes ofcource, its VHOST :) However I cant get it to work :( Im using the standard analog.cf from the FreeBSD ports collection with the following changes:

--------- SNIP ---------
LOGFORMAT COMBINED
LOGFILE /var/log/httpd-access.log
# LOGFILE /old/logs/access_log.*
OUTFILE /home/webdork/html/Report.html
HOSTNAME "moso.dk"

BARSTYLE h
IMAGEDIR analog-img/
BROWSERREP ON
BROWSERSUM ON
GENERAL OFF
VHOST ON
--------- SNIP ---------

The other commands works fine (BROWSERREP, BROWSERSUM and so on), but the "VHOST ON" does nothing? Why? Does my Apache not log this information? Hereunder is a snippet of my log:

--------- SNIP ---------
172.16.0.121 - - [22/Nov/2005:15:21:41 +0100] "GET /gallery/galleries.html HTTP/1.1" 200 2814 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5" 172.16.0.121 - - [22/Nov/2005:15:21:41 +0100] "GET /gallery/thumbs/canada_2004.jpg HTTP/1.1" 200 54892 "http://so.moso.dk/gallery/galleries.html"; "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5" 172.16.0.121 - - [22/Nov/2005:15:21:41 +0100] "GET /gallery/thumbs/scotland_2004.jpg HTTP/1.1" 200 37430 "http://so.moso.dk/gallery/galleries.html"; "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5" 172.16.0.121 - - [22/Nov/2005:15:21:41 +0100] "GET /gallery/thumbs/fur_2005.jpg HTTP/1.1" 200 51698 "http://so.moso.dk/gallery/galleries.html"; "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5" 172.16.0.121 - - [22/Nov/2005:15:21:41 +0100] "GET /gallery/thumbs/scthans_2005.jpg HTTP/1.1" 200 46883 "http://so.moso.dk/gallery/galleries.html"; "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5" 172.16.0.121 - - [22/Nov/2005:15:21:41 +0100] "GET /gallery/thumbs/france_2005.jpg HTTP/1.1" 200 44851 "http://so.moso.dk/gallery/galleries.html"; "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5"
--------- SNIP ---------

Thanks
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