Update patches for 0.7.1:
[manu/suphp.git] / debian / patches / 01_debian.dpatch
index d946d34..0b072d4 100644 (file)
@@ -5,9 +5,9 @@
 ## DP: Adapt to debian paths
 
 @DPATCH@
---- ./doc/suphp.conf-example
-+++ ./doc/suphp.conf-example
-@@ -1,15 +1,15 @@
+--- doc/suphp.conf-example
++++ doc/suphp.conf-example
+@@ -1,12 +1,12 @@
  [global]
  ;Path to logfile
 -logfile=/var/log/suphp.log
 +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 @@
+ 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-php=php:/usr/bin/php-cgi
+-x-httpd-php="php:/usr/bin/php"
++application/x-httpd-php="php:/usr/bin/php-cgi"
  
  ;Handler for CGI-scripts
- x-suphp-cgi=execute:!self
+ x-suphp-cgi="execute:!self"