X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=debian%2Fconf%2Fsuphp.conf;h=0d2830e71a13574161619ea95b30ea0f12234f40;hp=42d8fd56b24c6c8ccb3a461d1d5d4f7b7d4bf09c;hb=5f69d979b9bff27d9a1893473e726b599b3114dd;hpb=873afb00229b8e205345b6895eaad6602d5e10f4 diff --git a/debian/conf/suphp.conf b/debian/conf/suphp.conf index 42d8fd5..0d2830e 100644 --- a/debian/conf/suphp.conf +++ b/debian/conf/suphp.conf @@ -1,9 +1,21 @@ - AddHandler x-httpd-php .php .php3 .php4 .php5 .phtml - suPHP_AddHandler 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