[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#444048: apache2: CGI scripts entirely broken



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




Reply to: