]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r599655 from trunk:
authorTakashi Sato <takashi@apache.org>
Wed, 21 May 2008 02:37:57 +0000 (02:37 +0000)
committerTakashi Sato <takashi@apache.org>
Wed, 21 May 2008 02:37:57 +0000 (02:37 +0000)
Briefly mention UserDir's url redirection abilities

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@658535 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/public_html.xml

index 30ac395a781f0031e34b9344e2b95bb1528898b8..3d1fa2542b72b38444d41fe1155efafff36fbfe2 100644 (file)
     <code>/var/html/rbowen/file.html</code></p>
 
   </section>
+  
+  <section id="redirect">
+    <title>Redirecting to external URLs</title>
+    <p>The <directive module="mod_userdir">UserDir</directive> directive can be
+      used to redirect user directory requests to external URLs.</p>
+      
+    <example>
+      UserDir http://www.foo.com/users/*/
+    </example>
+    
+    <p>The above example will redirect a request for
+    <code>http://example.com/~bob/abc.html</code> to
+    <code>http://www.foo.com/users/bob/abc.html</code>.</p>
+  </section>
 
   <section id="enable">
     <title>Restricting what users are permitted to use this