From: Daniel Gruno Date: Mon, 16 Apr 2012 19:41:52 +0000 (+0000) Subject: Be consistent in the use of URL-path instead of url-path X-Git-Tag: 2.4.3~560 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=158205dac92ee0493809ab9d2e9a5bf99a261532;p=apache Be consistent in the use of URL-path instead of url-path git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1326770 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_alias.xml b/docs/manual/mod/mod_alias.xml index e9c0a75eb3..d32c72eff7 100644 --- a/docs/manual/mod/mod_alias.xml +++ b/docs/manual/mod/mod_alias.xml @@ -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 >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 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 @@ -518,7 +518,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