On Tuesday 25 September 2007, Nick Price wrote:
> I have a perl script that is simply
> print "Content-type: text/html\n\n";
>
> When run from the commandline it executes perfectly,
> when run through apache2's CGI handler it gives a 500
> through a browser, and the following message in the
> error log:
> Premature end of script headers: test.pl

I cannot reproduce this. Check the permissions of your script. If you 
use suexec, read the suexec docs about which permissions/owner you 
need.

Cheers,
Stefan



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to