opnsense-ports/www/suphp/files/patch-doc__suphp.conf-example
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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"