Fix missing white space in apache directive
[manu/suphp.git] / debian / conf / suphp.conf
index dee1850..0d2830e 100644 (file)
@@ -1,5 +1,7 @@
 <IfModule mod_suphp.c>
-       AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
+    <FilesMatch "\.ph(p3?|tml)$">
+        SetHandler application/x-httpd-suphp
+    </FilesMatch>
        suPHP_AddHandler application/x-httpd-suphp
 
     <Directory />
@@ -13,7 +15,7 @@
     </Directory>
 
 # # Use a specific php config file (a dir which contains a php.ini file)
-#      suPHP_ConfigPath /etc/php4/cgi/suphp/
+#      suPHP_ConfigPath /etc/php5/cgi/suphp/
 # # Tells mod_suphp NOT to handle requests with the type <mime-type>.
 #      suPHP_RemoveHandler <mime-type>
 </IfModule>