#! /bin/sh /usr/share/dpatch/dpatch-run ## 01_debian.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Adapt to debian paths @DPATCH@ --- ./doc/suphp.conf-example +++ ./doc/suphp.conf-example @@ -1,15 +1,15 @@ [global] ;Path to logfile -logfile=/var/log/suphp.log +logfile=/var/log/suphp/suphp.log ;Loglevel loglevel=info ;User Apache is running as -webserver_user=wwwrun +webserver_user=www-data ;Path all scripts have to be in -docroot=/ +docroot=/var/www ;Path to chroot() to before executing script ;chroot=/mychroot @@ -41,7 +41,7 @@ [handlers] ;Handler for php-scripts -x-httpd-php=php:/usr/bin/php +x-httpd-php=php:/usr/bin/php-cgi ;Handler for CGI-scripts x-suphp-cgi=execute:!self