Help - Search - Members - Calendar
Full Version: CGI not working
The Planet Forums > Control Panels > cPanel/WHM
krp
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!
znzmedia
hi there
i've had a similar prob this week, in fact i canīt even use my hosted domains panels =(

the way i fixit was changing the mininum user id to 500 in whm setup

then i made my accounts again

regards.
k.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.