X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=doc%2Fsuphp.conf-example;h=0ea07fdda23a4af62c9547f4391130ac5f32985f;hp=a6eb0f750a154930d583e6d847ecf6e26e8de50f;hb=849f4a7977b5780eacae8fad7a078d05f4a615ee;hpb=47bcf8ba77fa8011f9be728c23dbe6915d70251b diff --git a/doc/suphp.conf-example b/doc/suphp.conf-example index a6eb0f7..0ea07fd 100644 --- a/doc/suphp.conf-example +++ b/doc/suphp.conf-example @@ -1,15 +1,15 @@ [global] ;Path to logfile -logfile=/var/log/suphp/suphp.log +logfile=/var/log/suphp.log ;Loglevel loglevel=info ;User Apache is running as -webserver_user=www-data +webserver_user=wwwrun ;Path all scripts have to be in -docroot=/var/www +docroot=/var/www:${HOME}/public_html ;Path to chroot() to before executing script ;chroot=/mychroot @@ -41,7 +41,7 @@ min_gid=100 [handlers] ;Handler for php-scripts -x-httpd-php=php:/usr/bin/php-cgi +x-httpd-php="php:/usr/bin/php" ;Handler for CGI-scripts -x-suphp-cgi=execute:!self +x-suphp-cgi="execute:!self"