From: Emmanuel Lacour Date: Wed, 17 Oct 2007 13:27:59 +0000 (+0000) Subject: replaced AddHandler by AddType to avoid double extensions like ".php.jpg" X-Git-Tag: 0.6.2-2~3 X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=commitdiff_plain;h=50e514ebcd4dbdaea54681757ecd95eda2fd26b2 replaced AddHandler by AddType to avoid double extensions like ".php.jpg" --- diff --git a/debian/changelog b/debian/changelog index 2bbedb6..8ab7527 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,9 @@ suphp (0.6.2-2) unstable; urgency=low - * remove apache 1.x package (closes: #429079, closes: #429923) + * 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) -- Emmanuel Lacour Sun, 14 Oct 2007 19:42:30 +0200 diff --git a/debian/conf/suphp.conf b/debian/conf/suphp.conf index 42d8fd5..9639f54 100644 --- a/debian/conf/suphp.conf +++ b/debian/conf/suphp.conf @@ -1,6 +1,6 @@ - AddHandler 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/