Mailing List Archive

Couldn't find CGI output from "D:/WEBSITE/cgi-win/perl.exe
Hi all-

I'm trying to setup ntperl to run with WebSite to process CGI programs.
When I call ntperl with something like:

http://locaslhost/perl/perl.exe/testing.pl

I get a Server Error 500 with the message:

Couldn't find CGI output from "D:/WEBSITE/perl/bin/perl.exe"

I am using ntperl 5.001 in \website\perl\bin\perl.exe and have mapped
this location to \perl\ for the HTTP server. I suspect some sort of
mapping or config problem but haven't been able to find what it is so I
thought I'd try posting this message. Any thoughts to steer me in the
right direction would be appreciated.

Thanks.

Gordon "Sandy" Sandridge /\__/\ Silicon Ridge Software, Inc.
gsand@halcyon.com | / | Custom Foxpro Programming
< \ / > Bainbridge Island, WA
*/ / 206-780-9908
/ http://www.halcyon.com/gsand/
Re: Couldn't find CGI output from "D:/WEBSITE/cgi-win/perl.exe [ In reply to ]
>Hi all-

>I'm trying to setup ntperl to run with WebSite to process CGI programs.
>When I call ntperl with something like:

>http://locaslhost/perl/perl.exe/testing.pl

>I get a Server Error 500 with the message:

>Couldn't find CGI output from "D:/WEBSITE/perl/bin/perl.exe"

>I am using ntperl 5.001 in \website\perl\bin\perl.exe and have mapped
>this location to \perl\ for the HTTP server. I suspect some sort of
>mapping or config problem but haven't been able to find what it is so I
>thought I'd try posting this message. Any thoughts to steer me in the

Consider yourself duly apprised that if you do this, someday someone is going
to wreak havoc with your system very the trival hack

http://your.host.com/perl/perl.exe/-e+system+'format+c:'

or some such. I'm getting really tired of seeing this. Perhaps we
can fix perl to autoenable -T mode if running from the Web. That
should fix your problem. :-)

--tom
Re: Couldn't find CGI output from "D:/WEBSITE/cgi-win/perl.exe [ In reply to ]
Gordon,

On Tue, 28 Nov 1995, Gordon 'Sandy' Sandridge wrote:

> I'm trying to setup ntperl to run with WebSite to process CGI programs.
> When I call ntperl with something like:
>
> http://locaslhost/perl/perl.exe/testing.pl
>
> I am using ntperl 5.001 in \website\perl\bin\perl.exe and have mapped
> this location to \perl\ for the HTTP server.

You're doing way too much in trying. It really is a lot simplier than
all the deviousness put into this effort. Forget the aliasing, all you
need to do is place your scripts in the Standard CGI script directory and
apply an association to '.pl' type files to be interpreted by perl
(through the 'Your computer|options|file types' of Win95, or ASSOC of NT
3.51 (?)).

> I suspect some sort of
> mapping or config problem but haven't been able to find what it is so I
> thought I'd try posting this message. Any thoughts to steer me in the
> right direction would be appreciated.

Make sure that you specify to Website, default file association mapping
for the standard CGI.

-John

john@achilles.net http://www.achilles.net/~john/