Replace AddType by SetHandler to be in sync with libapache2-mod-php5 conf
[manu/suphp.git] / debian / conf / suphp.conf
index 21b8afe..d422b07 100644 (file)
@@ -1,5 +1,7 @@
 <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 />