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:20:21 UTC

svn commit: r599655 - /httpd/httpd/trunk/docs/manual/howto/public_html.xml

Author: noodl
Date: Thu Nov 29 16:20:19 2007
New Revision: 599655

URL: http://svn.apache.org/viewvc?rev=599655&view=rev
Log:
Briefly mention UserDir's url redirection abilities

Modified:
    httpd/httpd/trunk/docs/manual/howto/public_html.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=599655&r1=599654&r2=599655&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:20:19 2007
@@ -116,6 +116,20 @@
     <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