replaced AddHandler by AddType to avoid double extensions like ".php.jpg"
[manu/suphp.git] / debian / conf / suphp.conf
index 108de96..9639f54 100644 (file)
@@ -1,6 +1,9 @@
 <IfModule mod_suphp.c>
-       AddHandler x-httpd-php .php .php3 .php4 .phtml
+       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/
+# # Tells mod_suphp NOT to handle requests with the type <mime-type>.
+#      suPHP_RemoveHandler <mime-type>
 </IfModule>