PartnerNOC

If you have suexec enabled, check the logs at /usr/local/apache/logs/suexec_log for more detailed error messages on the scripts. I just migrated accounts to a new server and was getting "premature end of script headers" on all Perl scripts. It turned out the users had the permissions set to 777, which suexec does not allow--it cancels the execution of the script, hence the error mesage. The log above showed me what the issue was.

Still no idea how suexec got enabled, since it was not enabled on the old server.