0.6.1.20060928-1 release
[manu/suphp.git] / debian / patches / 01_debian.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 01_debian.dpatch by  <elacour@home-dn.net>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Adapt to debian paths
6
7 @DPATCH@
8 --- ./doc/suphp.conf-example
9 +++ ./doc/suphp.conf-example
10 @@ -1,15 +1,15 @@
11  [global]
12  ;Path to logfile
13 -logfile=/var/log/suphp.log
14 +logfile=/var/log/suphp/suphp.log
15  
16  ;Loglevel
17  loglevel=info
18  
19  ;User Apache is running as
20 -webserver_user=wwwrun
21 +webserver_user=www-data
22  
23  ;Path all scripts have to be in
24 -docroot=/
25 +docroot=/var/www
26  
27  ;Path to chroot() to before executing script
28  ;chroot=/mychroot
29 @@ -41,7 +41,7 @@
30  
31  [handlers]
32  ;Handler for php-scripts
33 -x-httpd-php=php:/usr/bin/php
34 +x-httpd-php=php:/usr/bin/php-cgi
35  
36  ;Handler for CGI-scripts
37  x-suphp-cgi=execute:!self