X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=debian%2Fconf%2Fsuphp.conf;h=d422b0779e8ebcaf1c27944b0982ac5f24090e44;hp=108de966b25758b0ac3afd3ab73a9e843a822f9e;hb=2f958d3f0ba9a3718d57d86d8dd48402620eb8ef;hpb=728a5b3f000f892e52ecea98fcc8f0c5d7275b7b diff --git a/debian/conf/suphp.conf b/debian/conf/suphp.conf index 108de96..d422b07 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 + + SetHandlerapplication/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