<Strong>Context:</strong> server config, virtual host<br>
<strong>Status:</strong> Base<br>
<strong>Module:</strong> mod_alias<br>
-<strong>Compatibility:</strong> Alias is only available in Apache 1.1
-and later<p>
The Alias directive allows documents to be stored in the local filesystem
other than under the <A HREF="core.html#documentroot">DocumentRoot</A>.
<Strong>Context:</strong> server config, virtual host<br>
<strong>Status:</strong> Base<br>
<strong>Module:</strong> mod_alias<br>
-<strong>Compatibility:</strong> ScriptAlias is only available in Apache 1.1
-and later<p>
The ScriptAlias directive has the same behaviour as the
<A HREF="#alias">Alias</A> directive, except that in addition it
<strong>Default:</strong> <code>UserDir public_html</code><br>
<Strong>Context:</strong> server config, virtual host<br>
<strong>Status:</strong> Base<br>
-<strong>Module:</strong> mod_userdir<p>
+<strong>Module:</strong> mod_userdir<br>
+<strong>Compatibility:</strong> All forms except the <code>UserDir
+public_html</code> form are only available in Apache 1.1 or 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.
<em>Directory</em> is either <code>disabled</code>, to disable this feature,
or the name of a directory, following one of the following
patterns. If not disabled, then a request for
-<code>http://www.foo.com/~bar/one/two.html</code> will be translated to:
+<code>http://www.foo.com/~bob/one/two.html</code> will be translated to:
<pre>
-UserDir public_html -> ~bar/public_html/one/two.html
-UserDir /usr/web -> /usr/web/bar/one/two.html
-UserDir /home/*/www -> /home/bar/www/one/two.html
+UserDir public_html -> ~bob/public_html/one/two.html
+UserDir /usr/web -> /usr/web/bob/one/two.html
+UserDir /home/*/www -> /home/bob/www/one/two.html
</pre>
The following directives will send redirects to the client:
<pre>
-UserDir http://www.x.com/users -> http//www.x.com/users/bar/one/two.html
-UserDir http://www.x.com/*/y -> http://www.x.com/y/one/two.html
+UserDir http://www.foo.com/users -> http//www.foo.com/users/bob/one/two.html
+UserDir http://www.foo.com/*/usr -> http://www.foo.com/bob/usr/one/two.html
</pre>
<!--#include virtual="footer.html" -->