summaryrefslogtreecommitdiffstats
path: root/docs/manual/howto/public_html.xml
diff options
context:
space:
mode:
authorVincent Bray <noodl@apache.org>2007-11-30 01:03:09 +0100
committerVincent Bray <noodl@apache.org>2007-11-30 01:03:09 +0100
commit1f3364f67fa5cd45ddd8222ce4d37e3a662ae267 (patch)
tree4f68d4f66fba8f9808314cc529b0e79c1d57a0db /docs/manual/howto/public_html.xml
parentRepeated 'RewriteRule' (diff)
downloadapache2-1f3364f67fa5cd45ddd8222ce4d37e3a662ae267.tar.xz
apache2-1f3364f67fa5cd45ddd8222ce4d37e3a662ae267.zip
UserDir accepts multiple file paths. Submitted by: Vincent Jong <megaspaz tron.megaspaz.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599646 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/howto/public_html.xml')
-rw-r--r--docs/manual/howto/public_html.xml12
1 files changed, 12 insertions, 0 deletions
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
<code>/var/www/rbowen/docs/file.html</code></p>
+ <p>Multiple directories or directory paths can also be set.</p>
+
+ <example>
+ UserDir public_html /var/html
+ </example>
+
+ <p>For the URL <code>http://example.com/~rbowen/file.html</code>,
+ Apache will search for <code>~rbowen</code>. If it isn't found,
+ Apache will search for <code>rbowen</code> in <code>/var/html</code>. If
+ found, the above URL will then be translated to the file path
+ <code>/var/html/rbowen/file.html</code></p>
+
</section>
<section id="enable">