summaryrefslogtreecommitdiff
path: root/www/suphp/files/patch-doc_suphp.conf-example
blob: 5fdbf4a43ec34e48b84a49386ae77e5fa6ce2b40 (plain) (blame)
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
--- doc/suphp.conf-example.orig	2011-03-13 17:52:24 UTC
+++ doc/suphp.conf-example
@@ -6,10 +6,10 @@ logfile=/var/log/suphp.log
 loglevel=info
 
 ;User Apache is running as
-webserver_user=wwwrun
+webserver_user=www
 
 ;Path all scripts have to be in
-docroot=/var/www:${HOME}/public_html
+docroot=/usr/local/www/*:${HOME}/public_html
 
 ;Path to chroot() to before executing script
 ;chroot=/mychroot
@@ -33,15 +33,15 @@ env_path="/bin:/usr/bin"
 umask=0077
 
 ; Minimum UID
-min_uid=100
+min_uid=80
 
 ; Minimum GID
-min_gid=100
+min_gid=80
 
 
 [handlers]
 ;Handler for php-scripts
-x-httpd-php="php:/usr/bin/php"
+application/x-httpd-php="php:/usr/local/bin/php-cgi"
 
 ;Handler for CGI-scripts
 x-suphp-cgi="execute:!self"