From: Christophe Jaillet Date: Thu, 18 Aug 2016 04:55:45 +0000 (+0000) Subject: Improve highlight and formatting. (r1756706 in trunk) X-Git-Tag: 2.4.24~310 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47b815f32aba0fc315cf895c50b701124821d9cb;p=thirdparty%2Fapache%2Fhttpd.git Improve highlight and formatting. (r1756706 in trunk) Remove some trailing spaces to synch with trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1756708 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_alias.xml b/docs/manual/mod/mod_alias.xml index 8c574340306..fc1040f15a5 100644 --- a/docs/manual/mod/mod_alias.xml +++ b/docs/manual/mod/mod_alias.xml @@ -48,7 +48,7 @@ a new location.

When the Alias, - ScriptAlias and + ScriptAlias and Redirect directives are used within a Location or LocationMatch @@ -100,13 +100,13 @@ Alias "/foo" "/gaq" ignored.

When the Alias, - ScriptAlias and + ScriptAlias and Redirect directives are used within a Location or LocationMatch section, these directives will take precedence over any globally defined Alias, - ScriptAlias and + ScriptAlias and Redirect directives.

@@ -299,7 +299,7 @@ a different URL FileInfo -

The Redirect directive maps an old URL into a new one by asking +

The Redirect directive maps an old URL into a new one by asking the client to refetch the resource at the new location.

The old URL-path is a case-sensitive (%-decoded) path @@ -310,10 +310,10 @@ a different URL In this latter 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.

# Redirect to a URL on a different host @@ -341,10 +341,14 @@ Redirect "/one" "/two" Note -

Redirect directives take precedence over Alias and ScriptAlias +

Redirect directives take precedence over Alias and ScriptAlias directives, irrespective of their ordering in the configuration - file. Redirect directives inside a Location take precedence over - Redirect and Alias directives with an URL-path.

+ file. Redirect directives inside a Location take + precedence over Redirect and Alias directives with an URL-path.

+

If no status argument is given, the redirect will be "temporary" (HTTP status 302). This indicates to the client @@ -390,8 +394,8 @@ Redirect 303 "/three" "http://example.com/other"

If the Redirect directive is used within a Location or LocationMatch - section with the URL-path omitted, then the URL parameter will be - interpreted using expression syntax.
+ section with the URL-path omitted, then the URL parameter + will be interpreted using expression syntax.
This syntax is available in Apache 2.4.19 and later.