summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/conf
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-07-11 12:19:33 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-07-11 12:19:33 +0000
commitc706766434ba60f54c3b917537a99a12e59a0656 (patch)
tree733cc6e93afe5d9254a179906946ab54a4cf05fc /usr.sbin/httpd/conf
parentf9614386eea4ee7d4215919423599912f20c6b88 (diff)
sample entry for UserDir /var/www/users; create empty /var/www/users;
ok henning@, deraadt@
Diffstat (limited to 'usr.sbin/httpd/conf')
-rw-r--r--usr.sbin/httpd/conf/httpd.conf11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.sbin/httpd/conf/httpd.conf b/usr.sbin/httpd/conf/httpd.conf
index 9409196e1b4..535c1437fa8 100644
--- a/usr.sbin/httpd/conf/httpd.conf
+++ b/usr.sbin/httpd/conf/httpd.conf
@@ -333,17 +333,22 @@ DocumentRoot "/var/www/htdocs"
#
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received. "disabled" turns this feature
-# off; other reasonable defaults are "public_dir" and ".html"
+# off.
+#
+# Since httpd will chroot(2) to the serverroot path by default,
+# you should use
+# UserDir /var/www/users
+# and create per user directories in /var/www/users/<username>
#
UserDir disabled
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only and
-# are located under /home/<username>public_html
+# are located under /users/<username>
# You will need to change this to match your site's home directories.
#
-#<Directory /home/*/public_html>
+#<Directory /users/*>
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <Limit GET POST OPTIONS PROPFIND>