You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by no...@apache.org on 2007/11/30 01:03:09 UTC

svn commit: r599646 - in /httpd/httpd/trunk/docs/manual: howto/public_html.xml mod/mod_userdir.xml

Author: noodl
Date: Thu Nov 29 16:03:09 2007
New Revision: 599646

URL: http://svn.apache.org/viewvc?rev=599646&view=rev
Log:
UserDir accepts multiple file paths. Submitted by: Vincent Jong <megaspaz tron.megaspaz.net>

Modified:
    httpd/httpd/trunk/docs/manual/howto/public_html.xml
    httpd/httpd/trunk/docs/manual/mod/mod_userdir.xml

Modified: httpd/httpd/trunk/docs/manual/howto/public_html.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/howto/public_html.xml?rev=599646&r1=599645&r2=599646&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/howto/public_html.xml (original)
+++ httpd/httpd/trunk/docs/manual/howto/public_html.xml Thu Nov 29 16:03:09 2007
@@ -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">

Modified: httpd/httpd/trunk/docs/manual/mod/mod_userdir.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_userdir.xml?rev=599646&r1=599645&r2=599646&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_userdir.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_userdir.xml Thu Nov 29 16:03:09 2007
@@ -42,7 +42,8 @@
 
 <name>UserDir</name>
 <description>Location of the user-specific directories</description>
-<syntax>UserDir <em>directory-filename</em></syntax>
+<syntax>UserDir <em>directory-filename</em> [<em>directory-filename</em>] ...
+</syntax>
 <contextlist><context>server config</context> <context>virtual
 host</context></contextlist>