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

Bug#428058: apache2.2-common: a2enmod's cgi/cgid cleverness does not work with apache2-mpm-itk



Package: apache2.2-common
Version: 2.2.3-4
Severity: normal

The logic that a2enmod uses to decide whether to replace 'cgi' with
'cgid' is not sufficient to handle cases where the MPM in use is
prefork-based, but is not actually named prefork.c.

With the ITK MPM, 'apache2 -l' outputs 'itk.c'.

Ok, so a2enmod can't be expected to recognise the name of every
alternative MPM in use; but it should at least print something out to
stderr like this:

  You do not appear to be using the preform MPM. Replacing mod_cgi with
  mod_cgid.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (540, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages apache2.2-common depends on:
ii  apache2-utils                2.2.3-4     utility programs for webservers
ii  libmagic1                    4.17-5etch1 File type determination library us
ii  lsb-base                     3.1-23.1    Linux Standard Base 3.1 init scrip
ii  mime-support                 3.39-1      MIME files 'mime.types' & 'mailcap
ii  net-tools                    1.60-17     The NET-3 networking toolkit
ii  procps                       1:3.2.7-3   /proc file system utilities

apache2.2-common recommends no packages.

-- no debconf information



Reply to: