You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2013/04/08 14:00:37 UTC
svn commit: r1465602 - /httpd/httpd/trunk/docs/manual/mod/mod_authz_dbm.xml
Author: humbedooh
Date: Mon Apr 8 12:00:37 2013
New Revision: 1465602
URL: http://svn.apache.org/r1465602
Log:
Add example use case to doc
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_authz_dbm.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_authz_dbm.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_authz_dbm.xml?rev=1465602&r1=1465601&r2=1465602&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_authz_dbm.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_authz_dbm.xml Mon Apr 8 12:00:37 2013
@@ -37,6 +37,23 @@
<seealso><directive module="mod_authz_core">Require</directive></seealso>
+<section id="examples">
+<title>Example usage</title>
+<p><em>Note that using mod_authz_dbm requires you to require <code>dbm-group</code>
+instead of <code>group</code>:</em>
+</p>
+<highlight language="config">
+<Directory "/foo/bar">
+ AuthType Basic
+ AuthName "Secure Area"
+ AuthBasicProvider dbm
+ AuthDBMUserFile site/data/users
+ AuthDBMGroupFile site/data/users
+ Require dbm-group admin
+</Directory>
+</highlight>
+</section>
+
<directivesynopsis>
<name>AuthDBMGroupFile</name>
<description>Sets the name of the database file containing the list
@@ -118,3 +135,4 @@ store list of user groups</description>
</directivesynopsis>
</modulesynopsis>
+