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

> 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

"COMBINED" doesn't include any VHOST information.

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

It doesn't look like it - and Analog can't analyise missing 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"

There is nothing in that log entry that indicates which VHOsT served the
request.

> 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"

This line shows so.moso.dk as the referrer. In some circumstances, your
Referring Site report might give you an idea of relative amount of traffic
going to each virtual server - it won't be exact (and could even be wildly
inaccurate in some cases), but it might be worth looking into.

REFSITE ON
REFSITEINCLUDE *.moso.dk

(I'm not sure of the syntax for REFSITEINCLUDE - you might need *.moso.dk/*)

You'll have to use your own judgement about whether the results of that
report are useful.

Aengus

+------------------------------------------------------------------------
|  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