replaced AddHandler by AddType to avoid double extensions like ".php.jpg"
authorEmmanuel Lacour <elacour@home-dn.net>
Wed, 17 Oct 2007 13:27:59 +0000 (13:27 +0000)
committerEmmanuel Lacour <elacour@home-dn.net>
Wed, 17 Oct 2007 13:27:59 +0000 (13:27 +0000)
debian/changelog
debian/conf/suphp.conf

index 2bbedb6..8ab7527 100644 (file)
@@ -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 <elacour@home-dn.net>  Sun, 14 Oct 2007 19:42:30 +0200
 
index 42d8fd5..9639f54 100644 (file)
@@ -1,6 +1,6 @@
 <IfModule mod_suphp.c>
-       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/