[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-security] Not sure if the right list
- Subject: Re: [cobalt-security] Not sure if the right list
- From: Michael Stauber <cobalt@xxxxxxxxxxxxxx>
- Date: Mon, 22 Oct 2001 23:40:18 +0200
- Organization: Stauber Multimedia Design
- List-id: Mailing list for users to address network security on Cobalt products. <cobalt-security.list.cobalt.com>
Hi Nathan,
> I am trying to run a couple of scripts form /cgi-bin/another/ directory and
> it is giveing me and internal server error.
could as well be that the script itself has errors and that it has nothing to
do with CGI-Wrap.
Add the following line to your CGI script(s) and put it before your first
lines of code, but below the #!/usr/local/bin/perl in the first line:
use CGI::Carp qw(fatalsToBrowser);
That will make sure that more detailed error messages are sent out to the
browser instead of the dumb 500 server error which usually occurs when a
script bugs out.
Or you could try to run the script(s) from telnet (or ssh) with "perl -w
scriptname.pl" to see if it runs fine. If not, then enjoy the detailed error
messages which should at least give you some pointers of what's wrong in
which line.
--
With best regards,
Michael Stauber
SOLARSPEED.NET