Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#444048: apache2: CGI scripts entirely broken

From: Stefan Fritsch <sf(at)sfritsch.de>
Date: Tue Sep 25 2007 - 14:47:13 EDT


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 debian-apache-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Sep 25 14:55:35 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:57:49 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library