Thank you for your reply.
I will try changing the %{Host}i to %v as you suggested.
The %{Host}i does only capture Host headers, but provides a vhost on most lines in the
log. (The format choice is not mine ;-)
Thank you again,
Kathy
> On Wed, 28 Feb 2001 [EMAIL PROTECTED] wrote:
>
> > Hi,
> >
> > I am using analog-4.14 to analyze a log file that includes virtual domains. The
>format string for the file is:
> >
> > APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
>%{Host}i %T)
> >
> > I have tried applying the example from virtdoms.cfg for when all of the domains
>are logged to a single file, but so far have not had any success.
> > (LOGFILE /home/log/xxx http://%v.xyz.org - I have also tried other variables in
>place of the %v)
> >
> > Is the log format completely wrong for using this method? Is the only
> > option to split the file for each host?
> >
>
> It looks like you did the right thing. The problem is that analog doesn't
> recognise %{Host}i as "virtual host". It's expecting the Apache built-in
> codes %v or %V. Try changing %{Host}i to %v and it should work.
>
> I could add %{Host}i. But do you really get the virtual host on every line
> with this? I would have thought it would only appear when the client
> bothered to send a Host: header in the HTTP request.
>
> --
> Stephen Turner http://www.statslab.cam.ac.uk/~sret1/
> Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
> "Your account can only be used for a single internet session at any one
> time and for no more than 24 hours in any one day." (NTL terms of use)
>
> ------------------------------------------------------------------------
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED]
> with "unsubscribe" in the main BODY OF THE MESSAGE.
> List archived at http://www.mail-archive.com/[email protected]/
> ------------------------------------------------------------------------
>
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------