hi i am trying to run a cgi script using SSI.
i have cgi and SSI running fine (or so i think) on a windows xp apachi server .
when i run the cgi script:
<a href="../cgi-bin/hello.cgi">click</a><br />
all works fine. and prints "hello world".
when i run the SSI command:
<!--#echo var="DATE_LOCAL" -->
it prints the date .
but when trying to combine the two using:
<!--#exec cgi="../cgi-bin/hello.cgi" -->
i iget [an error occurred while processing this directive].
what have am i not doing to get SSI to execute cgi.
ive tryed other CGI's ie counters and the same thing happens.
thanks
i have cgi and SSI running fine (or so i think) on a windows xp apachi server .
when i run the cgi script:
<a href="../cgi-bin/hello.cgi">click</a><br />
all works fine. and prints "hello world".
when i run the SSI command:
<!--#echo var="DATE_LOCAL" -->
it prints the date .
but when trying to combine the two using:
<!--#exec cgi="../cgi-bin/hello.cgi" -->
i iget [an error occurred while processing this directive].
what have am i not doing to get SSI to execute cgi.
ive tryed other CGI's ie counters and the same thing happens.
thanks