summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_authn_socache.html.en
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual/mod/mod_authn_socache.html.en')
-rw-r--r--docs/manual/mod/mod_authn_socache.html.en32
1 files changed, 17 insertions, 15 deletions
diff --git a/docs/manual/mod/mod_authn_socache.html.en b/docs/manual/mod/mod_authn_socache.html.en
index 2f5627aa6d..2cbf27bf01 100644
--- a/docs/manual/mod/mod_authn_socache.html.en
+++ b/docs/manual/mod/mod_authn_socache.html.en
@@ -84,18 +84,19 @@ 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>
- <div class="example"><pre>
- &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
- &lt;/Directory&gt;
- </pre></div>
+ <pre class="prettyprint lang-config">
+&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
+&lt;/Directory&gt;
+ </pre>
+
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="dev" id="dev">Cacheing with custom modules</a></h2>
@@ -171,9 +172,10 @@ the load on backends</td></tr>
<p>For example, to cache credentials found by <code class="module"><a href="../mod/mod_authn_dbd.html">mod_authn_dbd</a></code>
or by a custom provider <var>myprovider</var>, but leave those looked
up by lightweight providers like file or dbm lookup alone:</p>
- <div class="example"><p><code>
- AuthnCacheProvideFor dbd myprovider
- </code></p></div>
+ <pre class="prettyprint lang-config">
+AuthnCacheProvideFor dbd myprovider
+ </pre>
+
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>