[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] cgiwrap problem running cgi script
- Subject: RE: [cobalt-users] cgiwrap problem running cgi script
- From: "Tom Cameron" <tomcameron@xxxxxxxxxxxxxxx>
- Date: Fri Nov 22 11:20:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
=> Friday, 22 November 2002 10:44 PM Gerald Waugh
=> On Friday 22 November 2002 06:55, Tom Cameron wrote:
=> > Can anybody suggest what the problem may be, or is there some
=> kind of debug
=> > log from cgiwrap that I can use to find out the cause of the problem.
=>
=> A way to debug a perl script is to put the following command in
=> the second
=> line of the perl script after #!/usr/bin/perl
=>
=> use CGI::Carp qw(fatalsToBrowser);
Thanks, but I am certain the perl is ok, it runs fine from command line and
this also happens with non perl scripts. I built a script like this to test
and still go the same problem.
#!/bin/sh
echo Content-type: text/plain
echo
printenv