<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
<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
+ #Optional
+ AuthnCacheContext dbd-authn-example
</Directory>
</highlight>
</section>