#! /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,12 +1,12 @@ [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=/var/www:${HOME}/public_html @@ -41,7 +41,7 @@ min_gid=100 [handlers] ;Handler for php-scripts -x-httpd-php="php:/usr/bin/php" +application/x-httpd-suphp="php:/usr/bin/php-cgi" ;Handler for CGI-scripts x-suphp-cgi="execute:!self"