Chris Boyd wrote:
> I am running Apache 1.3.9 with many virtual hosts on linux. Each virtual host
> has it's own log files.
>
> I have automated the generation of the statisics for each virt host. The problem
> is the report title and included URL are not correct. They are being set from
> the analog.cfg file.
>
> Can I set the HOSTNAME and HOSTURL for each report on the command line ?
>
> Can I use enviroment variables to dynamically change these values ?
>
> What is the best way to automatically generate a customized report for each virt
> host ?
>
> Basically I am doing this now:
>
> for FILE in `ls *.access`; do
> analog $FILE -O$FILE.html
> mv $FILE.html /web/htdocs/stats
>
> Any and all comment would be appreciated..
You can set anything from the command-line look at the index in the docs under
command-line options for a summary of each option. +C can be used for any command,
for example:
analog $FILE -O$FILE.html +C"HOSTNAME My Domain" +C"HOSTURL
www.mydomain.com"
HTH,
--
Jeremy Wadsack
Digital Media Consultant
___________________________
Wadsack-Allen Digital Group
http://www.wadsack-allen.com/digitalgroup/
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------