From: Vincent Bray <noodl@apache.org> Date: Fri, 30 Nov 2007 00:20:19 +0000 (+0000) Subject: Briefly mention UserDir's url redirection abilities X-Git-Tag: 2.3.0~1198 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37cf7368b2c26a0163e6d9ef0e3d394bd4fb66a5;p=apache Briefly mention UserDir's url redirection abilities git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599655 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/howto/public_html.xml b/docs/manual/howto/public_html.xml index 4a86d3f634..ba76f979d5 100644 --- a/docs/manual/howto/public_html.xml +++ b/docs/manual/howto/public_html.xml @@ -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