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

Bug#579609: RemoveHandler and RemoveType does not work (libapache2-mod-php5 disable problem)



Package: apache2.2-common
Version: 2.2.9-10+lenny7
Severity: normal

Hello, exist the following problem

The file/etc/mime.types which is installed by a package mime-support
contains following data MIME types

application/x-httpd-php                         phtml pht php
application/x-httpd-php-source                  phps
application/x-httpd-php3                        php3
application/x-httpd-php3-preprocessed           php3p
application/x-httpd-php4                        php4

Apache used these types by operation of PHP libapache2-mod-php5 unit
and handles PHP scripts it is not dependent on
customisations/etc/apache2/mods-enabled/php.conf

Attempt to disable the given behaviour with the

RemoveHandler .php .php4 .php5 .phps .pht .phtml
RemoveType .php .php4 .php5 .phps .pht .phtml

does not work any effects

By the information from httpd.apache.org error not operations
RemoveHandler and RemoveType have been corrected in Apache version
2.2.15
It is necessary to make backport this correction in Apache 2.2.9 which
in Debian Lenny repos, or (if possible and this will be better) use
"own" mime.types file without application/x-httpd-php.


-- Package-specific info:
List of enabled modules from 'apache2 -M':
 actions alias auth_basic authn_file authz_default authz_groupfile
 authz_host authz_user autoindex cgi dir env include mime
 negotiation php5 rewrite setenvif ssl status suexec vhost_alias

-- System Information:
Debian Release: 5.0.4
 APT prefers stable
 APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-164.10.1.el5.028stab067.4ent (SMP w/1 CPU core)
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.9-10+lenny7 Apache HTTP Server - traditional n

apache2 recommends no packages.

apache2 suggests no packages.

Versions of packages apache2.2-common depends on:
ii  apache2-utils       2.2.9-10+lenny7      utility programs for webservers
ii  libapr1             1.2.12-5+lenny1      The Apache Portable Runtime Librar
ii  libaprutil1         1.2.12+dfsg-8+lenny4 The Apache Portable Runtime Utilit
ii  libc6               2.7-18lenny2         GNU C Library: Shared libraries
ii  libmagic1           4.26-1               File type determination library us
ii  libssl0.9.8         0.9.8g-15+lenny6     SSL shared libraries
ii  lsb-base            3.2-20               Linux Standard Base 3.2 init scrip
ii  mime-support        3.44-1               MIME files 'mime.types' & 'mailcap
ii  net-tools           1.60-22              The NET-3 networking toolkit
ii  perl                5.10.0-19lenny2      Larry Wall's Practical Extraction
ii  procps              1:3.2.7-11           /proc file system utilities
ii  zlib1g              1:1.2.3.3.dfsg-12    compression library - runtime

-- no debconf information



Reply to: