Commit 630138dd authored by Alexei Kosut's avatar Alexei Kosut
Browse files

Fix compat notes, and make the UserDir docs to be (a) correct, and (b)

to use more "friendly" expamples (hah).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77102 13f79535-47bb-0310-9956-ffa450edef68
parent c8622af0
Loading
Loading
Loading
Loading
+0 −4
Changes for docs/manual/mod/mod_alias.html: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -30,8 +30,6 @@ host filesystem in the the document tree, and for URL redirection.
<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>.
@@ -115,8 +113,6 @@ This directive makes the client know that the Redirect is permanent.
<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
+9 −7
Changes for docs/manual/mod/mod_userdir.html: 9 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -24,23 +24,25 @@ is compiled in by default. It provides for user-specific directories.
<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" -->