]> granicus.if.org Git - apache/commitdiff
Backport r1447192 in order to fix an error in an example as spotted by Ben Johnson...
authorChristophe Jaillet <jailletc36@apache.org>
Sun, 15 Feb 2015 08:10:47 +0000 (08:10 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sun, 15 Feb 2015 08:10:47 +0000 (08:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1659892 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_authn_socache.html.en
docs/manual/mod/mod_authn_socache.xml

index 7c32b6eb79a7a2027cbd89924018903dc646e5a0..15071dc148dae2f42aa63dcd27367ccb1adf68b2 100644 (file)
@@ -85,15 +85,17 @@ the load on backends</td></tr>
     </ol>
     <p>A simple usage example to accelerate <code class="module"><a href="../mod/mod_authn_dbd.html">mod_authn_dbd</a></code>
     using dbm as a cache engine:</p>
-    <pre class="prettyprint lang-config">&lt;Directory /usr/www/myhost/private&gt;
+    <pre class="prettyprint lang-config">#AuthnCacheSOCache is optional.  If specified, it is server-wide
+AuthnCacheSOCache dbm
+&lt;Directory /usr/www/myhost/private&gt;
     AuthType Basic
     AuthName "Cached Authentication Example"
     AuthBasicProvider socache dbd
     AuthDBDUserPWQuery "SELECT password FROM authn WHERE user = %s"
     AuthnCacheProvideFor dbd
-    AuthnCacheContext dbd-authn-example
-    AuthnCacheSOCache dbm
     Require valid-user
+    #Optional
+    AuthnCacheContext dbd-authn-example
 &lt;/Directory&gt;</pre>
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
index 932c6da7f01ac596cf2e2948aa8151dd16845422..b5d3254f724cc7368c6a5a794709cea864b64c8b 100644 (file)
@@ -70,15 +70,17 @@ the load on backends</description>
     <p>A simple usage example to accelerate <module>mod_authn_dbd</module>
     using dbm as a cache engine:</p>
     <highlight language="config">
+#AuthnCacheSOCache is optional.  If specified, it is server-wide
+AuthnCacheSOCache dbm
 &lt;Directory /usr/www/myhost/private&gt;
     AuthType Basic
     AuthName "Cached Authentication Example"
     AuthBasicProvider socache dbd
     AuthDBDUserPWQuery "SELECT password FROM authn WHERE user = %s"
     AuthnCacheProvideFor dbd
-    AuthnCacheContext dbd-authn-example
-    AuthnCacheSOCache dbm
     Require valid-user
+    #Optional
+    AuthnCacheContext dbd-authn-example
 &lt;/Directory&gt;
     </highlight>
 </section>