"Stephen Turner" <[EMAIL PROTECTED]> wrote:

> On Mon, 12 Feb 2001, Albert Fung wrote:
>
> > Hello all,
> > I've tried searching the FAQs and databases but haven't seen a solution
> > for this one:
> > I'd like to offer my virtual hosted domains analog, but am not sure how
> > to do so.  I have tried to edit the cfg and included vhostinclude using
> > either /usr/local/etc/httpd/vhosts/domain and just www.domain.com, each
> > one in the same config, but when I run analog, I get no output at all.
> > if i remove those entries, the analog will run, but only for the main
> > account, which is for superconnected.com.
> > I have my log files separated into each domains folder.
> > any suggestions?
> >
>
> Have you read virtdoms.cfg in the examples directory?
>
I think that there may be some some confusion about terminology involved in
this too - if the virtual hosted domains already have their own separate
logs, Analog doesn't care that they are virtual hosts, it just analyses the
log and create a report for that individual host.

The important point here is "1 run, 1 report". If you have 4 virtual hosted
domains, you run Analog 4 times, pointing it at each set of log files, eg:

 Analog D:\LOGS\W3SCV1\*.log +OD:\InetPub\Host1\Weblogs.htm
 Analog D:\LOGS\W3SCV2\*.log +OD:\InetPub\Host2\Weblogs.htm
 Analog D:\LOGS\W3SCV3\*.log +OD:\InetPub\Host3\Weblogs.htm
 Analog D:\LOGS\W3SCV4\*.log +OD:\InetPub\Host4\Weblogs.htm
to create 4 seperate reports, one for each of your "virtual domains"

If you, as the administrator of the box, want a consolidated report so you
can see how your customers compare, you can create a single report by doing
something like this:

Create alldoms.cfg like this:
LOGFILE D:\LOGS\W3SCV1\*.log www.host1.com
LOGFILE D:\LOGS\W3SCV2\*.log www.host2.com
LOGFILE D:\LOGS\W3SCV3\*.log www.host3.com
LOGFILE D:\LOGS\W3SCV4\*.log www.host4.com
OUTFILE ALLDOMS.HTM

and run Analog like this:
 Analog +galldoms.cfg

Aengus



------------------------------------------------------------------------
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]/
------------------------------------------------------------------------

Reply via email to