diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2002-07-11 12:19:33 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2002-07-11 12:19:33 +0000 |
commit | c706766434ba60f54c3b917537a99a12e59a0656 (patch) | |
tree | 733cc6e93afe5d9254a179906946ab54a4cf05fc /usr.sbin/httpd/conf | |
parent | f9614386eea4ee7d4215919423599912f20c6b88 (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.conf | 11 |
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> |