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

Bug#444048: apache2: CGI scripts entirely broken



Package: apache2
Version: 2.2.6-1
Severity: important


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


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18.2jom (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork           2.2.6-1    Traditional model for Apache HTTPD

apache2 recommends no packages.

-- no debconf information




Reply to: