mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
--- doc/config/conf.d/userdir.conf.orig 2017-11-11 10:30:25.000000000 -0600
|
|
+++ doc/config/conf.d/userdir.conf 2017-11-12 09:42:40.000000000 -0600
|
|
@@ -8,16 +8,17 @@
|
|
server.modules += ( "mod_userdir" )
|
|
|
|
##
|
|
-## usually it should be set to "public_html" to take ~/public_html/ as
|
|
-## the document root
|
|
+## On most UNIX-like operating systems it should be set to "public_html" to
|
|
+## take ~/public_html/ as the document root.
|
|
+## On macOS it should be set to "Sites" to take ~/Sites as the document root.
|
|
## Default: empty (document root is the home directory)
|
|
##
|
|
-userdir.path = "public_html"
|
|
+userdir.path = "Sites"
|
|
|
|
##
|
|
## If set, don't check /etc/passwd for homedir
|
|
## Default: empty
|
|
-#userdir.basepath = server_root + "/users/"
|
|
+userdir.basepath = "/Users/"
|
|
|
|
##
|
|
## list of usernames which may not use this feature
|
|
--- doc/config/lighttpd.annotated.conf.orig 2019-05-31 11:21:36.000000000 -0500
|
|
+++ doc/config/lighttpd.annotated.conf 2019-05-31 11:22:27.000000000 -0500
|
|
@@ -97,8 +97,8 @@
|
|
## Run as a different username/groupname.
|
|
## This requires root permissions during startup.
|
|
##
|
|
-server.username = "lighttpd"
|
|
-server.groupname = "lighttpd"
|
|
+server.username = "@USER@"
|
|
+server.groupname = "@GROUP@"
|
|
|
|
##
|
|
## Enable lighttpd to serve requests on sockets received from systemd
|