diff options
author | Igor Galić <igalic@apache.org> | 2012-04-26 18:18:54 +0200 |
---|---|---|
committer | Igor Galić <igalic@apache.org> | 2012-04-26 18:18:54 +0200 |
commit | cd1694d46e32ccbed29218b5f6bdc6165597a580 (patch) | |
tree | 98c70412671b94f77725563134929ba143bb1ffd /docs/manual/mod/mod_authn_socache.html.en | |
parent | fix XML validation. (diff) | |
download | apache2-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.en | 32 |
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> - <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 - </Directory> - </pre></div> + <pre class="prettyprint lang-config"> +<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 +</Directory> + </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> |