You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Rich Bowen <rb...@rcbowen.com> on 2000/03/17 05:19:23 UTC

Patch: mod_userdir.html

Some small clarifications for mod_userdir.html

<PATCH>

--- ../apache-1.3/htdocs/manual/mod/mod_userdir.html    Wed May 20
10:13:00 1998
+++ ./mod_userdir.html  Thu Mar 16 23:16:26 2000
@@ -55,8 +55,15 @@
 of the <SAMP>enabled</SAMP> keyword, or <SAMP>disabled</SAMP> with a
 list of usernames, is only available in Apache 1.3 and above.<P>

-The UserDir directive sets the real directory in a user's home
directory
-to use when a request for a document for a user is received.
+The UserDir directive sets a directory, relative to a user's home
directory,
+to use when a request for a document for that user is received. This
type of
+request is indicated by a tilde (~) followed by a username, as in
+<CODE>http://servername/~username/document.html</CODE>.<P>
+
+On systems where there is no clear concept of a user's home directory,
+such as Win32, Apache does not try to determine the user's home
directory, and
+this directive should be set to an absolute path.<P>
+
 <EM>Directory/filename</EM> is one of the following:
 </P>
 <UL>
@@ -88,6 +95,8 @@
 UserDir /usr/web        -&gt; /usr/web/bob/one/two.html
 UserDir /home/*/www     -&gt; /home/bob/www/one/two.html
 </PRE>
+Note that an asterisk (*) is replaced with the username.<P>
+
 The following directives will send redirects to the client:
 <PRE>
 UserDir http://www.foo.com/users -&gt;
http://www.foo.com/users/bob/one/two.html

</PATCH>

Rich
-- 
http://www.ApacheUnleashed.com/
Lexington Perl Mongers - http://lexington.pm.org/
PGP Key - http://www.rcbowen.com/pgp.txt