X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=debian%2Fconf%2Fsuphp.conf;h=edc5a27954bcfd22d7fd9f239e7a5f6e71173f60;hp=108de966b25758b0ac3afd3ab73a9e843a822f9e;hb=5db87c509b4072d0c81b6653d6666e557fd6a26f;hpb=728a5b3f000f892e52ecea98fcc8f0c5d7275b7b diff --git a/debian/conf/suphp.conf b/debian/conf/suphp.conf index 108de96..edc5a27 100644 --- a/debian/conf/suphp.conf +++ b/debian/conf/suphp.conf @@ -1,6 +1,19 @@ - AddHandler x-httpd-php .php .php3 .php4 .phtml - suPHP_Engine on + AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml + suPHP_AddHandler application/x-httpd-php + + + 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/ +# # Tells mod_suphp NOT to handle requests with the type . +# suPHP_RemoveHandler