From: Daniel Ferradal Date: Wed, 21 Jun 2017 16:01:23 +0000 (+0000) Subject: Fixed a small statement about the result of Redirect when scheme and hostname is... X-Git-Tag: 2.5.0-alpha~348 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24c937ec2c670ea7b0d853c3a8c45e1b88ee1cd1;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/docs/manual/mod/mod_alias.html.en b/docs/manual/mod/mod_alias.html.en index 8a239135a7d..c76f40ddb4f 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 fc1040f15a5..67e3bd15ce7 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