X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=debian%2Fconf%2Fsuphp.conf;h=0d2830e71a13574161619ea95b30ea0f12234f40;hp=9639f54403a8427c16724e713f0a87bddd038b55;hb=5f69d979b9bff27d9a1893473e726b599b3114dd;hpb=0feab8c956468f21f3b953550cabec16bfd7ef03 diff --git a/debian/conf/suphp.conf b/debian/conf/suphp.conf index 9639f54..0d2830e 100644 --- a/debian/conf/suphp.conf +++ b/debian/conf/suphp.conf @@ -1,9 +1,21 @@ - AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml - suPHP_AddHandler application/x-httpd-php - suPHP_Engine on + + SetHandler application/x-httpd-suphp + + suPHP_AddHandler application/x-httpd-suphp + + + suPHP_Engine on + + + # By default, disable suPHP for debian packaged web applications as files + # are owned by root and cannot be executed by suPHP because of min_uid. + + suPHP_Engine off + + # # 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 . # suPHP_RemoveHandler