Posted by code_wrong on 10/03/80 11:30
"David Dorward" <dorward@yahoo.com> wrote in message
news:dj14j7$2na$1$8300dec7@news.demon.co.uk...
> code_wrong wrote:
>
>> <!--#exec cgi="../cgi-bin/hello.pl"-->
>
>> when I change the file to shtml from html I get an error message
>> .'.failed
>> to process'
>
> Which suggests that something went wrong when trying to run the script.
> What
> does your server's error log say?
>
>> I understand that changing to SHTML from HTML is optional ..
>> When I accesss the page with the HTML extension the exec line is ignored
>
> The file extension isn't relevant in of itself, but your server sounds
> like
> it is configured to look for SSI directives in files with .shtml file
> extensions, but not .html file extensions. You could reconfigure your
> server instead of using a file with a .shtml extension.
Ah .. got it ..... my path was wrong ... instead of
<!--#exec cgi="../cgi-bin/hello.pl"-->
I needed
<!--#exec cgi="/cgi-bin/hello.pl"-->
good enough for me
cheerss
Navigation:
[Reply to this message]
|