I have multiple virtual hosts, all logging to one log file.
I have a personalised log format which is the standard 'combined' format 
with a leading %v.
I run analog with quite a lot of different options from cron jobs etc, and 
have found it easiest to define most of the config settings in the default 
.cfg file, but provide the extra options required for each "run" from the 
command line... that way I only have one config file to manage.
I do not define a LOGFILE in the config file, so must always define one on 
the command line, or via CGI input to anlgform.pl
I do define a DEFAULTLOGFORMAT in the config file, so that the extra %v in 
my logs is interpreted correctly.

When I define a 'LOGFILE' on the commandline, I do it like this:
(this just outputs the html output as requested)

./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?

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