Switch from application/x-httpd-php to application/x-httpd-suphp to allow
authorEmmanuel Lacour <elacour@easter-eggs.com>
Mon, 3 Aug 2009 13:32:57 +0000 (15:32 +0200)
committerEmmanuel Lacour <elacour@easter-eggs.com>
Mon, 3 Aug 2009 13:32:57 +0000 (15:32 +0200)
simultaneous use of mod_suphp and mod_php

debian/NEWS
debian/conf/suphp.conf
debian/patches/01_debian.dpatch

index ef13145..3150965 100644 (file)
@@ -1,3 +1,13 @@
+suphp (0.7.1-1) unstable; urgency=low
+
+  To allow mod_suphp to work at the same time as mod_php, handler name was
+  renamed from application/x-httpd-php to application/x-httpd-suphp in both
+  suphp and apache configuration files.
+  You must check that any other suphp statements in your apache configuration
+  files uses the same syntax.
+
+ -- Emmanuel Lacour <elacour@home-dn.net>  Mon, 03 Aug 2009 15:31:37 +0200
+
 suphp (0.6.2-2) unstable; urgency=low
 
   To match the same behaviour as mod_php, AddHandler was replaced by AddType
index edc5a27..dee1850 100644 (file)
@@ -1,6 +1,6 @@
 <IfModule mod_suphp.c>
-       AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
-       suPHP_AddHandler application/x-httpd-php
+       AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
+       suPHP_AddHandler application/x-httpd-suphp
 
     <Directory />
         suPHP_Engine on
index 0b072d4..d3af120 100644 (file)
@@ -27,7 +27,7 @@
  [handlers]
  ;Handler for php-scripts
 -x-httpd-php="php:/usr/bin/php"
-+application/x-httpd-php="php:/usr/bin/php-cgi"
++application/x-httpd-suphp="php:/usr/bin/php-cgi"
  
  ;Handler for CGI-scripts
  x-suphp-cgi="execute:!self"