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