Commit b92e90f8 authored by Christophe Jaillet's avatar Christophe Jaillet
Browse files

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
parent 52d6b428
Loading
Loading
Loading
Loading
+5 −3
Changes for docs/manual/mod/mod_authn_socache.html.en: 5 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -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>
+4 −2
Changes for docs/manual/mod/mod_authn_socache.xml: 4 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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>