From 50e514ebcd4dbdaea54681757ecd95eda2fd26b2 Mon Sep 17 00:00:00 2001 From: Emmanuel Lacour Date: Wed, 17 Oct 2007 13:27:59 +0000 Subject: [PATCH] replaced AddHandler by AddType to avoid double extensions like ".php.jpg" --- debian/changelog | 4 +++- debian/conf/suphp.conf | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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/ -- 2.11.0