* remove apache 1.x package (closes: #429079)
* debian/rules, debian/compat, debian/control: lintian cleanup
- * debian/conf/suphp.conf: replaced AddHandler by AddType to avoid double
- extensions like ".php.jpg" (closes: #416424)
+ * debian/conf/suphp.conf, debian/patches/01_debian.dpatch: replaced
+ AddHandler by AddType and x-httpd-php by application/x-httpd-php to get
+ the same behavior as mod php with filenames extensions (closes: #416424)
-- Emmanuel Lacour <elacour@home-dn.net> Sun, 14 Oct 2007 19:42:30 +0200
<IfModule mod_suphp.c>
- AddType x-httpd-php .php .php3 .php4 .php5 .phtml
- suPHP_AddHandler x-httpd-php
+ AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
+ suPHP_AddHandler application/x-httpd-php
suPHP_Engine on
# # Use a specific php config file (a dir which contains a php.ini file)
# suPHP_ConfigPath /etc/php4/cgi/suphp/
[handlers]
;Handler for php-scripts
-x-httpd-php=php:/usr/bin/php
-+x-httpd-php=php:/usr/bin/php-cgi
++application/x-httpd-php=php:/usr/bin/php-cgi
;Handler for CGI-scripts
x-suphp-cgi=execute:!self