Link to home
Start Free TrialLog in
Avatar of ptruman
ptruman

asked on

Netscape Enterprise 3.5 & Perl CGI

Hello all, I've been (previously) running my servers
on Unix boxes, or Win 95/NT running Sambar (which is cool).
However, now I'm toying with Netscape Enterprise,
and can't get the thing to run my perl programs....

I have the .PL file extension associated with a PERL exe
on my system (I have two, one from Netscape & one from Sambar), and I have followed the server docs to set up
a "magnus-internal/shellcgi" MIME type and point it to
a relevant directory...

I am either getting :
[07/Oct/1998:09:54:06] failure: for host 130.130.2.37 trying to GET /cgi-bin/phone.pl, cgi-parse-output reports: the CGI program D:\Netscape\SuiteSpot\install\perl.exe did not produce a valid header (program terminated without a valid CGI header (check for core dump or other abnormal termination)

Or I'm getting a white screen with NO output.
Running from the command prompt is fine, and here is
the (first part of the) output :
Content-type: text/html

<HTML>
<HEAD>

And so on.....

So am I missing another HTTP header? Sambar didnt argue
with it, and neither do any of the Unix boxes...

The .PL extension is set up as follows :
ACTIONS|Open|
Open with :
D:\Netscape\SuiteSpot\install\perl.exe

Do I need any %1 %s info on the end of that?

I've tried matching the MIME types to no avail....

Any help appreciated....

ASKER CERTIFIED SOLUTION
Avatar of mouatts
mouatts

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ptruman
ptruman

ASKER

Looks like we're moving to IIS anyway.
I've also come across a Perl to Exe compiler, which only
needs two hooked DLL's.....
The Perl compiler has been about for quite a while but apparently is still a bit dodgy.