From: Christophe Jaillet Date: Sun, 15 Feb 2015 08:10:47 +0000 (+0000) Subject: Backport r1447192 in order to fix an error in an example as spotted by Ben Johnson... X-Git-Tag: 2.4.13~428 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1270b8a2cc691c1cb20b63bb81dd951306c8189;p=thirdparty%2Fapache%2Fhttpd.git Backport r1447192 in order to fix an error in an example as spotted by Ben Johnson in online doc git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1659892 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_authn_socache.html.en b/docs/manual/mod/mod_authn_socache.html.en index 7c32b6eb79a..15071dc148d 100644 --- a/docs/manual/mod/mod_authn_socache.html.en +++ b/docs/manual/mod/mod_authn_socache.html.en @@ -85,15 +85,17 @@ the load on backends

A simple usage example to accelerate mod_authn_dbd using dbm as a cache engine:

-
<Directory /usr/www/myhost/private>
+    
#AuthnCacheSOCache is optional.  If specified, it is server-wide
+AuthnCacheSOCache dbm
+<Directory /usr/www/myhost/private>
     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
 </Directory>
top
diff --git a/docs/manual/mod/mod_authn_socache.xml b/docs/manual/mod/mod_authn_socache.xml index 932c6da7f01..b5d3254f724 100644 --- a/docs/manual/mod/mod_authn_socache.xml +++ b/docs/manual/mod/mod_authn_socache.xml @@ -70,15 +70,17 @@ the load on backends

A simple usage example to accelerate mod_authn_dbd using dbm as a cache engine:

+#AuthnCacheSOCache is optional. If specified, it is server-wide +AuthnCacheSOCache dbm <Directory /usr/www/myhost/private> 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 </Directory>