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

Bug#444048: CGI stopped working after upgrade to 2.2.16-6+squeeze6



On Wed, 8 Feb 2012, Andreas B. Mundt wrote:
I run apache with the userdir module enabled.  Users can have their
own cgi-bin directory in ~/public_html.  This worked fine until
yesterday, where it stopped working. (Standard HTML code still works,
but not the cgi-bin scripts.)

The error reported is the well known:
   Premature end of script headers

From the logs it looks as if apache (and some other related packages)
have been upgraded yesterday, so I suspect this caused the failure:

    Preparing to replace apache2 2.2.16-6+squeeze4 (using .../apache2_2.2.16-6+squeeze6_i386.deb) ...

Any ideas what might have happened and how to solve it?

I can't reproduce this. cgi scripts work fine for me in /usr/lib/cgi-bin or in a specially configured ~/public_html/cgi-bin, with or without suexec.

From the changes in the DSA, it's not very likely (but not impossible)
that it has caused a regression with CGIs. You could try

- downgrading to 2.2.16-6+squeeze4. If this fixes the problem it is very likely a new bug in 2.2.16-6+squeeze6. Please open a new bug report in this case.

- configure ScriptLog and look if that gives some hints what goes wrong.


As a wild guess, maybe your configuration depended on changed permissions of some executable (suexec?). It is possible that these have been reset by the update, unless you have configured them with dpkg-statoverride.



Reply to: