aboutsummaryrefslogtreecommitdiffstats
path: root/www/suphp/files/patch-doc::suphp.conf-example
diff options
context:
space:
mode:
Diffstat (limited to 'www/suphp/files/patch-doc::suphp.conf-example')
-rw-r--r--www/suphp/files/patch-doc::suphp.conf-example18
1 files changed, 11 insertions, 7 deletions
diff --git a/www/suphp/files/patch-doc::suphp.conf-example b/www/suphp/files/patch-doc::suphp.conf-example
index 456109bc1e1f..d359454dc109 100644
--- a/www/suphp/files/patch-doc::suphp.conf-example
+++ b/www/suphp/files/patch-doc::suphp.conf-example
@@ -1,6 +1,6 @@
---- doc/suphp.conf-example.orig 2005-11-26 11:29:02.000000000 -0800
-+++ doc/suphp.conf-example 2007-12-12 09:21:02.000000000 -0800
-@@ -6,7 +6,7 @@
+--- doc/suphp.conf-example.orig
++++ doc/suphp.conf-example
+@@ -6,10 +6,10 @@
loglevel=info
;User Apache is running as
@@ -8,7 +8,11 @@
+webserver_user=www
;Path all scripts have to be in
- docroot=/
+-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
@@ -23,8 +27,8 @@
[handlers]
;Handler for php-scripts
--x-httpd-php=php:/usr/bin/php
-+application/x-httpd-php=php:/usr/local/bin/php-cgi
+-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
+ x-suphp-cgi="execute:!self"