rjahrman has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to install a script on a newly-configured server. Anyway, when I try to access /cgi-bin/cron.pl in my browser, I get an Internal Server Error. The error log shows:
[stuff] Premature end of script headers: cron.pl [stuff] (2)No such file or directory: exec of '/var/www/cgi-bin/cron.p +l' failed
The file does indeed exist, and running it from the shell works fine (and returns proper headers). The script is CHMODed to 777. What else could be wrong?
BTW. I just tried a simpler script, and it worked. The difference is that the script I'm having trouble with returns text/plain. Do I have to do something special to configure it that way?
(And I realize that it's weird to access a cron script in a browser, but it's for testing.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Configuration Problems
by davido (Cardinal) on Oct 15, 2004 at 03:06 UTC | |
|
Re: Configuration Problems
by tilly (Archbishop) on Oct 15, 2004 at 03:05 UTC | |
|
Re: Configuration Problems
by gellyfish (Monsignor) on Oct 15, 2004 at 08:10 UTC | |
|
Re: Configuration Problems
by Anonymous Monk on Oct 15, 2004 at 09:02 UTC |