From: Daniel Gruno Date: Wed, 18 Apr 2012 05:36:37 +0000 (+0000) Subject: Fix typo and be consistent in using URL instead of url X-Git-Tag: 2.2.23~191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a90b93bc7547e9d1c0c0ae07d8f55fa7af07ce9;p=thirdparty%2Fapache%2Fhttpd.git Fix typo and be consistent in using URL instead of url git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1327382 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_alias.xml b/docs/manual/mod/mod_alias.xml index 74574ed63e7..18a15cf25eb 100644 --- a/docs/manual/mod/mod_alias.xml +++ b/docs/manual/mod/mod_alias.xml @@ -55,11 +55,11 @@ mod_rewrite Mapping URLs to the filesystem +href="../URLmapping.html">Mapping URLs to the filesystem
Order of Processing -

Aliases and Redirects occuring in different contexts are processed +

Aliases and Redirects occurring in different contexts are processed like other directives according to standard merging rules. But when multiple Aliases or Redirects occur in the same context (for example, in the @@ -105,9 +105,9 @@ href="../urlmapping.html">Mapping URLs to the filesystem

The Alias directive allows documents to be stored in the local filesystem other than under the DocumentRoot. URLs with a - (%-decoded) path beginning with url-path will be mapped + (%-decoded) path beginning with URL-path will be mapped to local files beginning with directory-path. The - url-path is case-sensitive, even on case-insensitive + URL-path is case-sensitive, even on case-insensitive file systems.

Example: @@ -122,14 +122,14 @@ href="../urlmapping.html">Mapping URLs to the filesystem module="mod_alias">AliasMatch directive.

Note that if you include a trailing / on the - url-path then the server will require a trailing / in + URL-path then the server will require a trailing / in order to expand the alias. That is, if you use

Alias /icons/ /usr/local/apache/icons/
-

then the url /icons will not be aliased, as it lacks +

then the URL /icons will not be aliased, as it lacks that trailing /. Likewise, if you omit the slash on the - url-path then you must also omit it from the + URL-path then you must also omit it from the file-path.

Note that you may need to specify additional

The full range of regular expression power is available. For example, it is possible to construct an alias with case-insensitive - matching of the url-path:

+ matching of the URL-path:

AliasMatch (?i)^/image(.*) /ftp/pub/image$1 @@ -266,10 +266,10 @@ a different URL in which case the scheme and hostname of the current server will be added.

-

Then any request beginning with URL-Path will return a +

Then any request beginning with URL-path will return a redirect request to the client at the location of the target URL. Additional path information beyond the matched - URL-Path will be appended to the target URL.

+ URL-path will be appended to the target URL.

Example: Redirect /service http://foo2.example.com/service @@ -485,7 +485,7 @@ and designates the target as a CGI script

As for AliasMatch, the full range of regular expression power is available. For example, it is possible to construct an alias with case-insensitive - matching of the url-path:

+ matching of the URL-path:

ScriptAliasMatch (?i)^/cgi-bin(.*) /usr/local/apache/cgi-bin$1