Re: why does this script not run?




"David Dorward" <dorward@xxxxxxxxx> wrote in message
news:dj14j7$2na$1$8300dec7@xxxxxxxxxxxxxxxxxxx
> 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.

when I change my filename to index.shtml the error messsage is:
Failed to execute CGI : Win32 Error Code = 3


.



Relevant Pages

  • Re: Post-SP2: How to view SHTML file on hard drive with IE?
    ... A separate server may become a necessity. ... page is HTML and has the SHTML links. ... which lets IE load the SHTML - until the original ...
    (microsoft.public.windowsxp.general)
  • Re: why does this script not run?
    ... >> when I change the file to shtml from html I get an error message ... >> I understand that changing to SHTML from HTML is optional .. ... >> When I accesss the page with the HTML extension the exec line is ignored ...
    (alt.html)
  • Re: Problem with publishing
    ... Windows IIS Server will support .html, but as you have indicated the only page where the extension ... Unix/Linux since it is a free OS, as well as the Apache web server. ...
    (microsoft.public.frontpage.extensions.windowsnt)
  • Re: Trouble moving servers with asp.net
    ... I renamed the page to have a .aspx extension and it works fine ... > we are having trouble with what appears to be ASP.NET server side includes ... > in the .shtml files. ... > I have mapped the .shtml files on the site to use the aspnet_isapi dll ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Trouble moving servers with asp.net
    ... I renamed the page to have a .aspx extension and it works fine ... > we are having trouble with what appears to be ASP.NET server side includes ... > in the .shtml files. ... > I have mapped the .shtml files on the site to use the aspnet_isapi dll ...
    (microsoft.public.dotnet.framework.aspnet)