10139N/A<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
10139N/A<
TITLE>Apache module mod_userdir</
TITLE>
10139N/A<!-- Background white, links blue (unvisited), navy (visited), red (active) --> 10139N/A<
H1 ALIGN="CENTER">Module mod_userdir</
H1>
10139N/Ais compiled in by default. It provides for user-specific directories.
12856N/A<
LI><
A HREF="#userdir">UserDir</
A>
10139N/A<
h2><
A name="userdir">UserDir</
A></
h2>
16401N/A<!--%plaintext <?INDEX {\tt UserDir} directive> --> 12032N/A><
STRONG>Default:</
STRONG></
A> <
CODE>UserDir public_html</
CODE><
BR>
10139N/A><
STRONG>Context:</
STRONG></
A> server config, virtual host<
BR>
10139N/A><
STRONG>Status:</
STRONG></
A> Base<
BR>
10139N/A><
STRONG>Module:</
STRONG></
A> mod_userdir<
BR>
10139N/A><
STRONG>Compatibility:</
STRONG></
A> All forms except the <
CODE>UserDir
10139N/Apublic_html</
CODE> form are only available in Apache 1.1 or above. Use
10139N/Aof the <
SAMP>enabled</
SAMP> keyword, or <
SAMP>disabled</
SAMP> with a
10139N/Alist of usernames, is only available in Apache 1.3 and above.<
P>
10139N/AThe UserDir directive sets the real directory in a user's home directory
10139N/Ato use when a request for a document for a user is received.
10139N/A <
LI>The name of a directory or a pattern such as those shown below.
10139N/A <
LI>The keyword <
SAMP>disabled</
SAMP>. This turns off <
EM>all</
EM>
10139N/A username-to-directory translations except those explicitly named with
10139N/A the <
SAMP>enabled</
SAMP> keyword (see below).
13423N/A <
LI>The keyword <
SAMP>disabled</
SAMP> followed by a space-delimited
10139N/A list of usernames. Usernames that appear in such a list will
10139N/A <
EM>never</
EM> have directory translation performed, even if they
10139N/A appear in an <
SAMP>enabled</
SAMP> clause.
10139N/A <
LI>The keyword <
SAMP>enabled</
SAMP> followed by a space-delimited list
10139N/A of usernames. These usernames will have directory translation
10139N/A performed even if a global disable is in effect, but not if they also
10139N/A appear in a <
SAMP>disabled</
SAMP> clause.
10139N/AIf neither the <
SAMP>enabled</
SAMP> nor the <
SAMP>disabled</
SAMP>
10139N/Akeywords appear in the <
SAMP>Userdir</
SAMP> directive, the argument is
10139N/Atreated as a filename pattern, and is used to turn the name into a
10139N/Adirectory specification. A request for
10139N/AThe following directives will send redirects to the client:
12032N/A Be careful when using this directive; for instance,
10139N/A <
SAMP>"UserDir ./"</
SAMP> would map
10139N/A <
SAMP>"/~root"</
SAMP> to
10139N/A <
SAMP>"/"</
SAMP> - which is probably undesirable. If you are
10139N/A running Apache 1.3 or above, it is strongly recommended that your
10139N/A "<
SAMP>UserDir disabled root</
SAMP>" declaration.