in reply to
Infamous "Premature end of script headers"
You need to read the server error logs. They should contain the STDERR from the script, including the reason for the failure.
Comment on
Re: Infamous "Premature end of script headers"
In Section
Seekers of Perl Wisdom