Re: can't exec some CGI scripts

2001-02-20 Thread Erik van Roode
At 03:59 PM 2/20/01 -0500, John May wrote: Unfortunately the problem is, 1. It isn't my script, I downloaded it from another site, and the other users report no problem like I am having and 2. I can't remove the -w option from the Perl line and still have the script work. As soon as I remove -w

Re: can't exec some CGI scripts

2001-02-20 Thread John May
It's ok that you don't believe me, but I hacked around the script a little bit and was able to get it to run by removing all the comments at the beginning of the script and few extra things that didn't need to be in there. Now the script runs fine. BTW, yes, the script did produce the desired re

Re: can't exec some CGI scripts

2001-02-20 Thread Andrew Perrin
Sorry, but I'm not sure I believe you :) - the -w switch is well documented and never, under any circumstances, affects what goes to STDOUT (or anywhere other than STDERR, which ends up in your log). When you say "the script will run", do you mean that it does so *correctly*, that is, that you get

Re: can't exec some CGI scripts

2001-02-20 Thread John May
Unfortunately the problem is, 1. It isn't my script, I downloaded it from another site, and the other users report no problem like I am having and 2. I can't remove the -w option from the Perl line and still have the script work. As soon as I remove -w, the script won't execute and I get an Inter

Re: can't exec some CGI scripts

2001-02-20 Thread Andrew Perrin
I can't speak off the top of my head to the exec problem you're having; the -w problem is clear. -w turns on warnings in perl, which are essentially non-fatal errors regarding programming style and structure. The "Name %s used only once" warning tells you that the given variable appears to be eith

Re: can't exec some CGI scripts

2001-02-20 Thread John May
On Tue, 20 Feb 2001, Erdmut Pfeifer wrote: I can execute the CGI scripts from the command line, when I use: $ perl newspro.cgi Also, below is a sample of the errors I get in my Apache error_log file when I run the scripts from a web browser with the #!/usr/bin/perl -w option. BTW, I get these

Re: can't exec some CGI scripts

2001-02-20 Thread Erdmut Pfeifer
On Tue, Feb 20, 2001 at 11:20:11AM -0500, John May wrote: > I am using Apache 1.3.17 (compiled from source) on Debian Woody. When I > try to exec some CGI scripts, by typeing in the URL, ex. > http://www.cybergeek.org/cgi-bin/newspro/newspro.cgi, I get an an > Internal Server Error with the follow

can't exec some CGI scripts

2001-02-20 Thread John May
I am using Apache 1.3.17 (compiled from source) on Debian Woody. When I try to exec some CGI scripts, by typeing in the URL, ex. http://www.cybergeek.org/cgi-bin/newspro/newspro.cgi, I get an an Internal Server Error with the following error in Apache's error log: [Tue Feb 20 08:55:23 2001] [erro