httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1465602 - /httpd/httpd/trunk/docs/manual/mod/mod_authz_dbm.xml
Date Mon, 08 Apr 2013 12:00:37 GMT
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">
+&lt;Directory "/foo/bar"&gt;
+  AuthType Basic 
+  AuthName "Secure Area"
+  AuthBasicProvider dbm 
+  AuthDBMUserFile site/data/users 
+  AuthDBMGroupFile site/data/users 
+  Require dbm-group admin 
+&lt;/Directory&gt;
+</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>
+



Mime
View raw message