500 error in CGI-BIN Directory....very strange
Ok....scenario:test.pl script:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello";
print "Content-type: text/html\n\n";
print "Hello";
I upload that in my cgi-bin folder, change permissions....it works
I upload that into my clients public_html folder, change permissions....it works.
I upload that into my clients cgi-bin folder, change permissions....it DOESN'T work.
The error log show premature end of script headers. Now, it gets even more strange....all 4 of those scripts work via shell, even client's version of test.pl in the cgi-bin.
Frontpage extensions are installed on this client's account, but the cgi-bin directory works on another account that has frontpage on it, so I'm not sure what the problem is. I run a CPanel/WHM server, if that makes a difference.
Oh, and I've also tried the FIX INSECURE PERMISSIONS in WHM, and it still won't work.
Anyone have ANY ideas?
All help is appreciated!
Thanks.