freebsd-ports/www/suphp/files/patch-doc::suphp.conf-example
Martin Wilke 975479fd8f - Update to 0.7.0
- Pass maintainership to submitter

PR:		131451
Submitted by:	Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
2009-02-09 21:04:06 +00:00

34 lines
652 B
Text

--- 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"