Concert package to 3.0 format (quilt)
[manu/suphp.git] / debian / patches / 01_debian.diff
diff --git a/debian/patches/01_debian.diff b/debian/patches/01_debian.diff
new file mode 100755 (executable)
index 0000000..efd82e7
--- /dev/null
@@ -0,0 +1,29 @@
+From: <elacour@home-dn.net>
+Subject: Adapt to debian paths
+
+--- ./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"