You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2015/02/15 09:10:47 UTC

svn commit: r1659892 - in /httpd/httpd/branches/2.4.x/docs/manual/mod: mod_authn_socache.html.en mod_authn_socache.xml

Author: jailletc36
Date: Sun Feb 15 08:10:47 2015
New Revision: 1659892

URL: http://svn.apache.org/r1659892
Log:
Backport r1447192 in order to fix an error in an example as spotted by Ben Johnson in online doc

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_socache.html.en
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_socache.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_socache.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_socache.html.en?rev=1659892&r1=1659891&r2=1659892&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_socache.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_socache.html.en Sun Feb 15 08:10:47 2015
@@ -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>

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_socache.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_socache.xml?rev=1659892&r1=1659891&r2=1659892&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_socache.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_authn_socache.xml Sun Feb 15 08:10:47 2015
@@ -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>