efd82e757140b73e050ff3b48f601be4483f5493
[manu/suphp.git] / debian / patches / 01_debian.diff
1 From: <elacour@home-dn.net>
2 Subject: Adapt to debian paths
3
4 --- ./doc/suphp.conf-example
5 +++ ./doc/suphp.conf-example
6 @@ -1,12 +1,12 @@
7  [global]
8  ;Path to logfile
9 -logfile=/var/log/suphp.log
10 +logfile=/var/log/suphp/suphp.log
11  
12  ;Loglevel
13  loglevel=info
14  
15  ;User Apache is running as
16 -webserver_user=wwwrun
17 +webserver_user=www-data
18  
19  ;Path all scripts have to be in
20  docroot=/var/www:${HOME}/public_html
21 @@ -41,7 +41,7 @@ min_gid=100
22  
23  [handlers]
24  ;Handler for php-scripts
25 -x-httpd-php="php:/usr/bin/php"
26 +application/x-httpd-suphp="php:/usr/bin/php-cgi"
27  
28  ;Handler for CGI-scripts
29  x-suphp-cgi="execute:!self"