File: 01_debian.dpatch

package info (click to toggle)
suphp 0.7.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,316 kB
  • ctags: 471
  • sloc: sh: 9,190; cpp: 2,882; ansic: 1,394; makefile: 106
file content (33 lines) | stat: -rw-r--r-- 751 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_debian.dpatch by  <elacour@home-dn.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Adapt to debian paths

@DPATCH@
--- ./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"