diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manual/howto/public_html.xml | 14 |
1 files changed, 14 insertions, 0 deletions
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 |