Replace AddType by SetHandler to be in sync with libapache2-mod-php5 conf
authorEmmanuel Lacour <elacour@home-dn.net>
Wed, 18 Apr 2012 12:56:46 +0000 (14:56 +0200)
committerEmmanuel Lacour <elacour@home-dn.net>
Wed, 18 Apr 2012 12:56:46 +0000 (14:56 +0200)
debian/conf/suphp.conf

index 21b8afe..d422b07 100644 (file)
@@ -1,5 +1,7 @@
 <IfModule mod_suphp.c>
 <IfModule mod_suphp.c>
-       AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
+    <FilesMatch "\.ph(p3?|tml)$">
+        SetHandlerapplication/x-httpd-suphp
+    </FilesMatch>
        suPHP_AddHandler application/x-httpd-suphp
 
     <Directory />
        suPHP_AddHandler application/x-httpd-suphp
 
     <Directory />