File: 01_debian.dpatch

package info (click to toggle)
suphp 0.6.2-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,300 kB
  • ctags: 437
  • sloc: sh: 20,980; cpp: 2,459; ansic: 1,114; makefile: 105
file content (37 lines) | stat: -rw-r--r-- 789 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
34
35
36
37
#! /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,15 +1,15 @@
 [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=/
+docroot=/var/www
 
 ;Path to chroot() to before executing script
 ;chroot=/mychroot
@@ -41,7 +41,7 @@
 
 [handlers]
 ;Handler for php-scripts
-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