summaryrefslogtreecommitdiffstats
path: root/www/suphp/files/patch-doc__suphp.conf-example
blob: d359454dc10980ee10676140ff4516f49fce1b07 (plain)
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
+++ doc/suphp.conf-example
@@ -6,10 +6,10 @@
 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 @@
 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"
OpenPOWER on IntegriCloud