All the cgi scripts on my server have stopped working. They all come back with a 500 Internal Server Error. However, the servers main site (IP Based) works fine still. All other sites don't.
All files and scripts are chmod 755.
CGI does not work with suexec enabled or disabled.
I have tried simple test scripts
"#!/usr/bin/perl
print "Content-type:text/htmlnnTesting"; And
"#!/usr/local/bin/perl -w
print "Content-type:text/htmlnnTesting";
The suexec log states this
[2003-08-22 18:11:26]: info: (target/actual) uid: balloon/balloon) gid: (balloon/balloon) cmd: test.pl
It does not matter if it is .cgi or .pl.
The error_log states this:
[Fri Aug 22 18:11:14 2003] [error] [client 66.167.223.62] Premature end of script headers: /home/balloon/public_html/cgi-bin/test.pl
[Fri Aug 22 18:11:14 2003] [error] [client 66.167.223.62] File does not exist: /home/balloon/public_html/500.shtml
Please help!