]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Update transformations
authorVincent Bray <noodl@apache.org>
Fri, 30 Nov 2007 00:20:54 +0000 (00:20 +0000)
committerVincent Bray <noodl@apache.org>
Fri, 30 Nov 2007 00:20:54 +0000 (00:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599656 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/public_html.html.en
docs/manual/howto/public_html.xml.ja
docs/manual/howto/public_html.xml.ko
docs/manual/mod/mod_userdir.html.en
docs/manual/mod/mod_userdir.xml.ja
docs/manual/mod/mod_userdir.xml.ko
docs/manual/mod/mod_userdir.xml.meta
docs/manual/mod/quickreference.html.en

index 86bc3c19e42e200843e6a1a53a0ae00c1081af9e..a125d862940129bcbd70af997fe178ca41e97c8b 100644 (file)
@@ -39,6 +39,7 @@
 </div>
 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#related">Per-user web directories</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#userdir">Setting the file path with UserDir</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#redirect">Redirecting to external URLs</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#enable">Restricting what users are permitted to use this 
     feature</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#cgi">Enabling a cgi directory for each user</a></li>
     translated to the file path
     <code>/var/www/rbowen/docs/file.html</code></p>
 
+    <p>Multiple directories or directory paths can also be set.</p>
+
+    <div class="example"><p><code>
+      UserDir public_html /var/html
+    </code></p></div>
+
+    <p>For the URL <code>http://example.com/~rbowen/file.html</code>, 
+    Apache will search for <code>~rbowen</code>. If it isn't found, 
+    Apache will search for <code>rbowen</code> in <code>/var/html</code>. If
+    found, the above URL will then be translated to the file path 
+    <code>/var/html/rbowen/file.html</code></p>
+
+  </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
+<div class="section">
+<h2><a name="redirect" id="redirect">Redirecting to external URLs</a></h2>
+    
+    <p>The <code class="directive"><a href="../mod/mod_userdir.html#userdir">UserDir</a></code> directive can be
+      used to redirect user directory requests to external URLs.</p>
+      
+    <div class="example"><p><code>
+      UserDir http://www.foo.com/users/*/
+    </code></p></div>
+    
+    <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>
   </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="enable" id="enable">Restricting what users are permitted to use this 
index 977ed7dadaf1ab70c5634cd5fb41964ab06c6eeb..26cfe895b515fb3cef82468108ab1e2b2a8e0ea6 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='iso-2022-jp' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 151408:420990 (outdated) -->
+<!-- English Revision: 151408:599655 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index b4dd55c8896a381707e2ae6eadaa68688b588927..92adea5e4004645ce3bc9d28cc995f4f4507c244 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 151408:420990 (outdated) -->
+<!-- English Revision: 151408:599655 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index f2d92404a3bc81b7544f3a51c568e7a28f5ea21e..0f21f0822167883a7068b8eb37a7c8b00c9e5b5e 100644 (file)
@@ -50,7 +50,8 @@ tutorial</a></li>
 <div class="directive-section"><h2><a name="UserDir" id="UserDir">UserDir</a> <a name="userdir" id="userdir">Directive</a></h2>
 <table class="directive">
 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Location of the user-specific directories</td></tr>
-<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>UserDir <em>directory-filename</em></code></td></tr>
+<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>UserDir <em>directory-filename</em> [<em>directory-filename</em>] ...
+</code></td></tr>
 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr>
 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Base</td></tr>
 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_userdir</td></tr>
index fadc43ed35a19e2bdcc2428d1e6ecade97b74845..4babd5ff7eaa8bfa993983fbe44fb485b40b2063 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-2022-jp"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 420990 -->
+<!-- English Revision: 420990:599646 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index e37f7127ea86d574a672b36468d0a648ef608889..4fb3fe1aa1f925bb1d67b8e86b98c7701b9e6f47 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="EUC-KR" ?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 151408:420990 (outdated) -->
+<!-- English Revision: 151408:599646 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 7a0b48158dca6dd2077764993b773d830ba35058..fc57829943fc8e25a8ae4e50dfeb6466fc0b9958 100644 (file)
@@ -7,7 +7,7 @@
 
   <variants>
     <variant>en</variant>
-    <variant>ja</variant>
+    <variant outdated="yes">ja</variant>
     <variant outdated="yes">ko</variant>
   </variants>
 </metafile>
index 4f4bd229fd1e0162b879076db02cf875fdb0973d..266741a87ee55225f00fd74dd5b445ab68205f3e 100644 (file)
@@ -775,7 +775,8 @@ port</td></tr>
 port</td></tr>
 <tr><td><a href="mpm_common.html#user">User <var>unix-userid</var></a></td><td> #-1 </td><td>s</td><td>M</td></tr><tr><td class="descr" colspan="4">The userid under which the server will answer
 requests</td></tr>
-<tr class="odd"><td><a href="mod_userdir.html#userdir">UserDir <em>directory-filename</em></a></td><td></td><td>sv</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Location of the user-specific directories</td></tr>
+<tr class="odd"><td><a href="mod_userdir.html#userdir">UserDir <em>directory-filename</em> [<em>directory-filename</em>] ...
+</a></td><td></td><td>sv</td><td>B</td></tr><tr class="odd"><td class="descr" colspan="4">Location of the user-specific directories</td></tr>
 <tr><td><a href="mod_vhost_alias.html#virtualdocumentroot" id="V" name="V">VirtualDocumentRoot <em>interpolated-directory</em>|none</a></td><td> none </td><td>sv</td><td>E</td></tr><tr><td class="descr" colspan="4">Dynamically configure the location of the document root
 for a given virtual host</td></tr>
 <tr class="odd"><td><a href="mod_vhost_alias.html#virtualdocumentrootip">VirtualDocumentRootIP <em>interpolated-directory</em>|none</a></td><td> none </td><td>sv</td><td>E</td></tr><tr class="odd"><td class="descr" colspan="4">Dynamically configure the location of the document root