Thanks for the tip!   How come that(LOGFILE vs LOGFILE1 + LOGFILE2) isn't mentioned anywhere on the analog site?

One last thing...  The analog site has a FAQ listed for "running multiple virtual hosts and one log file", but the FAQ has not been published to the site yet... has anyone written a brief faq about doing that(that's what I'm doing, and I could use a little help working out the best way to display virtual host stats)...if no one is/has done it, would you like me to when I get my problems all sorted out?

David.

--------------------------------------------------------------------
David Bussenschutt Email: [EMAIL PROTECTED]
Senior Computing Support Officer & Systems Administrator/Programmer
RedHat Certified Engineer.
Member of Systems Administrators Guild of Australia.
Location: Griffith University. Information Technology Services
Brisbane Qld. Aust. (TEN bldg. rm 1.33) Ph: (07)38757079
--------------------------------------------------------------------

 
Stephen Turner <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
19/10/2001 02:36 PM CET
Please respond to analog-help

To: [EMAIL PROTECTED]
cc:
bcc:
Subject: Re: [analog-help] using LOGFILE attribute from anlgform.pl (and how to include %v) ?


On Thu, 18 Oct 2001, David Bussenschutt wrote:
>
> ./analog none +C'LOGFILE /opt/apache/logs/access_log %v'
> +C'otheroptions...' 2>/dev/null
>
> What I CANT do is the above query through the CGI
> anlgform.html/anlgform.pl ...
>
> If I edit the anlgform.html and use the following line: (note the extra
> %v) it errors.
> <input type=hidden name="LOGFILE" value="/opt/apache/logs/access_log %v"
>
> it gives me an error about unsafe characters in 'LOGFILE'.
>
> what have I messed? ... it is complaining about the %v ? If so how come?
>

Yes, it is complaining about that, but the reason is that that isn't the
syntax for a command that takes two arguments. (It would be a logfile named
"/opt/apache/logs/access_log %v"). You want to set
 LOGFILE1=/opt/apache/logs/access_log  LOGFILE2=%v
and they will get combined in the way you want.

--
Stephen Turner, Cambridge, UK    http://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

+------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------

Reply via email to