From c081acfeb5ca5d486ee2791e85d98c992a1db9d9 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Thu, 18 Aug 2016 04:48:02 +0000 Subject: [PATCH] Improve highlight and formatting. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756706 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_alias.xml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/docs/manual/mod/mod_alias.xml b/docs/manual/mod/mod_alias.xml index 7c22ed6c2c..fc1040f15a 100644 --- a/docs/manual/mod/mod_alias.xml +++ b/docs/manual/mod/mod_alias.xml @@ -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.

-- 2.50.1