From 24c937ec2c670ea7b0d853c3a8c45e1b88ee1cd1 Mon Sep 17 00:00:00 2001 From: Daniel Ferradal Date: Wed, 21 Jun 2017 16:01:23 +0000 Subject: [PATCH] Fixed a small statement about the result of Redirect when scheme and hostname is not defined in the directive git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1799475 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_alias.html.en | 7 +++++-- docs/manual/mod/mod_alias.xml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/manual/mod/mod_alias.html.en b/docs/manual/mod/mod_alias.html.en index 8a239135a7..c76f40ddb4 100644 --- a/docs/manual/mod/mod_alias.html.en +++ b/docs/manual/mod/mod_alias.html.en @@ -310,8 +310,11 @@ a different URL

The new URL may be either an absolute URL beginning with a scheme and hostname, or a URL-path beginning with a slash. - In this latter case the scheme and hostname of the current server will - be added.

+ In this latter case the scheme and hostname of the current server + will be added if if you have + UseCanonicalName set to on, + otherwise the hostname will be replaced with the requested Host + header.

Then any request beginning with URL-path will return a redirect request to the client at the location of the target diff --git a/docs/manual/mod/mod_alias.xml b/docs/manual/mod/mod_alias.xml index fc1040f15a..67e3bd15ce 100644 --- a/docs/manual/mod/mod_alias.xml +++ b/docs/manual/mod/mod_alias.xml @@ -307,8 +307,11 @@ a different URL

The new URL may be either an absolute URL beginning with a scheme and hostname, or a URL-path beginning with a slash. - In this latter case the scheme and hostname of the current server will - be added.

+ In this latter case the scheme and hostname of the current server + will be added if if you have + UseCanonicalName set to on, + otherwise the hostname will be replaced with the requested Host + header.

Then any request beginning with URL-path will return a redirect request to the client at the location of the target -- 2.50.1