I suppose you use Apache. This is quote from its manual:

Note that the comment terminator (-->) should be preceded by whitespace to
ensure that it isn't considered part of an SSI token.

So instead 
<!--#exec cgi="/cgi-bin/counter.pl?dosomething"-->
it should be
<!--#exec cgi="/cgi-bin/counter.pl?dosomething" -->

On Sat, 18 Mar 2000, Julian Dittrich wrote:

JD> Hi People,
JD> 
JD> I guess I have a very simple question, but I can find any material on it.
JD> I wrote a script, that can take parameters, like script.pl?dosomething
JD> how can I automaticaly access those parameters with a line from the browser,
JD> like:
JD> <!--#exec cgi="/cgi-bin/counter.pl?dosomething"-->
JD> I tried this, but it doesn�t work. I get an error like this [an error occurred
JD> while processing this directive]?
JD> What do I do wrong, do I have to use a different commandline?
JD> Thank you very much in advanced for your input
JD> 
JD> Julian Dittrich
JD> 
JD> 
JD> 

-- 
Ilya Martynov
AGAVA Software Company, http://www.agava.com

Reply via email to