]> granicus.if.org Git - apache/commitdiff
* Build docus
authorRuediger Pluem <rpluem@apache.org>
Sat, 1 Sep 2007 17:44:53 +0000 (17:44 +0000)
committerRuediger Pluem <rpluem@apache.org>
Sat, 1 Sep 2007 17:44:53 +0000 (17:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@571839 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_authn_dbd.html.en
docs/manual/mod/mod_proxy.html.en
docs/manual/mod/mod_proxy.xml.ja

index 5bd85c11eab3b5b930353827aca2997397cd3916..dce6c149c4c11e665dd69e4084769abee8cffc0a 100644 (file)
@@ -53,6 +53,7 @@
 <h3>Topics</h3>
 <ul id="topics">
 <li><img alt="" src="../images/down.gif" /> <a href="#example">Configuration Example</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#exposed">Exposing Login Information</a></li>
 </ul><h3>See also</h3>
 <ul class="seealso">
 <li><code class="directive"><a href="../mod/core.html#authname">AuthName</a></code></li>
@@ -103,6 +104,22 @@ DBDExptime 60</code>
     <code>AuthDBDUserPWQuery "select password from authn where username = %s"
 &lt;/Directory&gt;</code>
 </pre></div>
+</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
+<div class="section">
+<h2><a name="exposed" id="exposed">Exposing Login Information</a></h2>
+
+<p>
+Whenever a query is made to the database server, all columns returned by
+the query are placed in the environment, using environment variables with
+the prefix "AUTHENTICATE_".
+</p>
+<p>If a database query for example returned the username, full name
+and telephone number of a user, a CGI program will have access to
+this information without the need to make a second independent database
+query to gather this additional information.</p>
+<p>This has the potential to dramatically simplify the coding and
+configuration required in some web applications.
+</p>
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="directive-section"><h2><a name="AuthDBDUserPWQuery" id="AuthDBDUserPWQuery">AuthDBDUserPWQuery</a> <a name="authdbduserpwquery" id="authdbduserpwquery">Directive</a></h2>
index 1d93d1b9209a46fd33726aa5871daa9572cc246e..7de87cf321e30eb0f8324bf53195dfd2d3d7171f 100644 (file)
@@ -1265,10 +1265,14 @@ expressions</td></tr>
        and later.</td></tr>
 </table>
     <p>This directive is used as an alternate method of setting any of the
-    parameters available to Proxy balancers and members normally done via the
+    parameters available to Proxy balancers and workers normally done via the
     <code class="directive"><a href="#proxypass">ProxyPass</a></code> directive. If used
-    within a <code>&lt;Proxy <var>balancer://</var>...&gt;</code> container
-    directive, the <var>url</var> argument is not required.</p>
+    within a <code>&lt;Proxy <var>balancer url|worker url</var>&gt;</code>
+    container directive, the <var>url</var> argument is not required. As a side
+    effect the respective balancer or worker gets created. This can be useful
+    when doing reverse proxying via a
+    <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> instead of a
+    <code class="directive"><a href="#proxypass">ProxyPass</a></code> directive.</p>
 
     <div class="example"><p><code>
       &lt;Proxy balancer://hotcluster&gt;<br />
@@ -1280,10 +1284,28 @@ expressions</td></tr>
       &lt;/Proxy&gt;
     </code></p></div>
 
+    <div class="example"><p><code>
+      &lt;Proxy http://backend&gt;<br />
+      <span class="indent">
+        ProxySet keepalive=On<br />
+      </span>
+      &lt;/Proxy&gt;
+    </code></p></div>
+
     <div class="example"><p><code>
         ProxySet balancer://foo lbmethod=bytraffic timeout=15
     </code></p></div>
 
+    <div class="example"><p><code>
+        ProxySet ajp://backend:7001 timeout=15
+    </code></p></div>
+
+   <div class="warning"><h3>Warning</h3>
+      <p>Keep in mind that the same parameter key can have a different meaning
+      depending whether it is applied to a balancer or a worker as shown by the two
+      examples above regarding timeout.</p>
+   </div>
+
 
 </div>
 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
index da6f0813a92e1073a551d45c7cedb5e0c6cbefca..3e65a8220f1c97695b3567b96cf0f69e445c5eac 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: 189754:571338 (outdated) -->
+<!-- English Revision: 189754:571836 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more