Commit 69d297cd authored by Nilgun Belma Buguner's avatar Nilgun Belma Buguner
Browse files

some cosmetic improvements

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@678101 13f79535-47bb-0310-9956-ffa450edef68
parent 3033592e
Loading
Loading
Loading
Loading
+11 −8
Changes for docs/manual/mod/mod_alias.xml: 11 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -114,14 +114,16 @@ ignored.</p>
      Alias /image /ftp/pub/image
    </example>

    <p>A request for http://myserver/image/foo.gif would cause the
    server to return the file /ftp/pub/image/foo.gif.</p>
    <p>A request for <code>http://myserver/image/foo.gif</code> would cause
    the server to return the file <code>/ftp/pub/image/foo.gif</code>.</p>

    <p>Note that if you include a trailing / on the
    <var>url-path</var> then the server will require a trailing / in
    order to expand the alias. That is, if you use <code>Alias
    /icons/ /usr/local/apache/icons/</code> then the url
    <code>/icons</code> will not be aliased.</p>
    order to expand the alias. That is, if you use</p>

    <dl><dd><code>Alias /icons/ /usr/local/apache/icons/</code></dd></dl>

    <p>then the url <code>/icons</code> will not be aliased.</p>

    <p>Note that you may need to specify additional <directive
    type="section" module="core">Directory</directive> sections which
@@ -206,11 +208,12 @@ a different URL</description>
      Redirect /service http://foo2.bar.com/service
    </example>

    <p>If the client requests http://myserver/service/foo.txt, it
    will be told to access http://foo2.bar.com/service/foo.txt
    <p>If the client requests <code>http://myserver/service/foo.txt</code>, it
    will be told to access <code>http://foo2.bar.com/service/foo.txt</code>
    instead.</p>

<note><title>Note</title> <p>Redirect directives take precedence over
    <note><title>Note</title>
    <p>Redirect directives take precedence over
    Alias and ScriptAlias directives, irrespective of their ordering in
    the configuration file. Also, <var>URL-path</var> must be a fully
    qualified URL, not a relative path, even when used with .htaccess files or