From: Vincent Bray Date: Fri, 30 Nov 2007 00:03:09 +0000 (+0000) Subject: UserDir accepts multiple file paths. Submitted by: Vincent Jong git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599646 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/howto/public_html.xml b/docs/manual/howto/public_html.xml index 886ace7d85..4a86d3f634 100644 --- a/docs/manual/howto/public_html.xml +++ b/docs/manual/howto/public_html.xml @@ -103,6 +103,18 @@ translated to the file path /var/www/rbowen/docs/file.html

+

Multiple directories or directory paths can also be set.

+ + + UserDir public_html /var/html + + +

For the URL http://example.com/~rbowen/file.html, + Apache will search for ~rbowen. If it isn't found, + Apache will search for rbowen in /var/html. If + found, the above URL will then be translated to the file path + /var/html/rbowen/file.html

+
diff --git a/docs/manual/mod/mod_userdir.xml b/docs/manual/mod/mod_userdir.xml index 44cd3d0172..650a559321 100644 --- a/docs/manual/mod/mod_userdir.xml +++ b/docs/manual/mod/mod_userdir.xml @@ -42,7 +42,8 @@ tutorial UserDir Location of the user-specific directories -UserDir directory-filename +UserDir directory-filename [directory-filename] ... + server config virtual host