You are here: Re: why does this script not run? « HTML « IT news, forums, messages
Re: why does this script not run?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация