Add quotes as suggested by #647604
[manu/suphp.git] / debian / patches / 01_debian.diff
1 From: <elacour@home-dn.net>
2 Subject: Adapt to debian paths
3
4 Index: suphp/doc/suphp.conf-example
5 ===================================================================
6 --- suphp.orig/doc/suphp.conf-example   2012-04-18 14:42:43.000000000 +0200
7 +++ suphp/doc/suphp.conf-example        2012-04-18 14:48:01.853452999 +0200
8 @@ -1,12 +1,12 @@
9  [global]
10  ;Path to logfile
11 -logfile=/var/log/suphp.log
12 +logfile=/var/log/suphp/suphp.log
13  
14  ;Loglevel
15  loglevel=info
16  
17  ;User Apache is running as
18 -webserver_user=wwwrun
19 +webserver_user=www-data
20  
21  ;Path all scripts have to be in
22  docroot=/var/www:${HOME}/public_html
23 @@ -27,7 +27,7 @@
24  errors_to_browser=false
25  
26  ;PATH environment variable
27 -env_path=/bin:/usr/bin
28 +env_path="/bin:/usr/bin"
29  
30  ;Umask to set, specify in octal notation
31  umask=0077
32 @@ -41,7 +41,7 @@
33  
34  [handlers]
35  ;Handler for php-scripts
36 -x-httpd-php="php:/usr/bin/php"
37 +application/x-httpd-suphp="php:/usr/bin/php-cgi"
38  
39  ;Handler for CGI-scripts
40  x-suphp-cgi="execute:!self"