summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_authn_socache.html.en
diff options
context:
space:
mode:
authorIgor Galić <igalic@apache.org>2012-04-26 18:18:54 +0200
committerIgor Galić <igalic@apache.org>2012-04-26 18:18:54 +0200
commitcd1694d46e32ccbed29218b5f6bdc6165597a580 (patch)
tree98c70412671b94f77725563134929ba143bb1ffd /docs/manual/mod/mod_authn_socache.html.en
parentfix XML validation. (diff)
downloadapache2-cd1694d46e32ccbed29218b5f6bdc6165597a580.tar.xz
apache2-cd1694d46e32ccbed29218b5f6bdc6165597a580.zip
./build.sh all
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330924 13f79535-47bb-0310-9956-ffa450edef68
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>