]> granicus.if.org Git - apache/commitdiff
Fix the authn_socache example, as per users@ discussion and
authorNick Kew <niq@apache.org>
Mon, 18 Feb 2013 11:08:53 +0000 (11:08 +0000)
committerNick Kew <niq@apache.org>
Mon, 18 Feb 2013 11:08:53 +0000 (11:08 +0000)
Ben Johnson's comment on the page itself @apache.org..

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1447192 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_authn_socache.xml

index 97cdeca380738ac569e0758131917bffa8d8e37b..a48b3ddd8764c51a05bb2a306efa84ad9c54ffe1 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>