]> granicus.if.org Git - apache/commitdiff
Added example of denying, or allowing, particular users to have UserDir
authorRichard Bowen <rbowen@apache.org>
Sat, 2 Mar 2002 02:37:17 +0000 (02:37 +0000)
committerRichard Bowen <rbowen@apache.org>
Sat, 2 Mar 2002 02:37:17 +0000 (02:37 +0000)
directories.
In a discussion on IRC, it was requested that an explicit example of
this configuration be provided in the documentation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93668 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_userdir.xml

index 01c4395aaafd700e7f3de4cd14b142fa074fbee2..7ee31fe51f9894cd344ccfeef4c868af9170744c 100755 (executable)
@@ -99,6 +99,24 @@ http://www.foo.com/~*/</td><td>http://www.foo.com/~bob/one/two.html</td></tr>
       Tips</a> page for more information.</strong>
 </note>
 
+<p>Additional examples:</p>
+
+<p>To allow a few users to have <code>UserDir</code> directories, but
+not anyone else, use the following:</p>
+
+<example>
+UserDir disabled<br />
+UserDir enabled user1 user2 user3
+</example>
+
+<p>To allow most users to have <code>UserDir</code> directories, but
+deny this to a few, use the following:</p>
+
+<example>
+UserDir enabled<br />
+UserDir disabled user4 user5 user6
+</example>
+
 </usage>
 
 </directivesynopsis>