]> granicus.if.org Git - apache/commitdiff
Briefly mention UserDir's url redirection abilities
authorVincent Bray <noodl@apache.org>
Fri, 30 Nov 2007 00:20:19 +0000 (00:20 +0000)
committerVincent Bray <noodl@apache.org>
Fri, 30 Nov 2007 00:20:19 +0000 (00:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599655 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/public_html.xml

index 4a86d3f634400f4136f1982324e7ace2fde89a2e..ba76f979d505b663cd9bbb21a139f55a26ae4690 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