From: Takashi Sato
Date: Tue, 13 May 2008 12:30:09 +0000 (+0000)
Subject: Merge r599646 from trunk:
X-Git-Tag: 2.2.9~172
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92d3368055144908c6ba564bfec91e9825bd890a;p=thirdparty%2Fapache%2Fhttpd.git
Merge r599646 from trunk:
UserDir accepts multiple file paths. Submitted by: Vincent Jong
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@655834 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/howto/public_html.xml b/docs/manual/howto/public_html.xml
index 453ff35f70c..30ac395a781 100644
--- a/docs/manual/howto/public_html.xml
+++ b/docs/manual/howto/public_html.xml
@@ -94,6 +94,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 44cd3d0172a..650a5593217 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