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

thanks for replying
The server is my host's .. I don't have access to the logs and can't
configure it.. I know that it is running windows of some sort ...but have
yet to find any tutorials or specifications outlining which SSI I can use
and how .... it's a puzzle ... the book I am reading - CGI and Perl in Easy
steps provides an example of a hit counter but fails to mention how it
should be invoked ... ...
regards
cw


.



Relevant Pages

  • Re: why does this script not run?
    ... >> I understand that changing to SHTML from HTML is optional .. ... >> When I accesss the page with the HTML extension the exec line is ignored ... > server instead of using a file with a .shtml extension. ...
    (alt.html)
  • Display images in Custom Error Pages
    ... Since people may have some of the HTML pages bookmarked, ... want to give them a meaningful error message page and point them to the new ... extension, but it doesn't work if the file has a ".html" extension. ... This now works for any file that doesn't have a ".aspx" extension. ...
    (microsoft.public.dotnet.framework.aspnet)
  • 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: why does this script not run?
    ... > when I change the file to shtml from html I get an error message .'.failed ... > I understand that changing to SHTML from HTML is optional .. ... The file extension isn't relevant in of itself, ...
    (alt.html)
  • Re: Authoring for browsers other than IE or Nav
    ... Windows XP SP 2 will not display the pages as HTML without having an extension. ... Thomas A. Rowe (Microsoft MVP - FrontPage) ...
    (microsoft.public.frontpage.extensions.windowsnt)