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\inst all\perl.e xe 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\inst all\perl.e xe
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....
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"
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\inst
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\inst
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The Perl compiler has been about for quite a while but apparently is still a bit dodgy.
ASKER
I've also come across a Perl to Exe compiler, which only
needs two hooked DLL's.....