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

Reply via email to