]> granicus.if.org Git - apache/commitdiff
Fixed a small statement about the result of Redirect when scheme and hostname is...
authorDaniel Ferradal <dferradal@apache.org>
Wed, 21 Jun 2017 16:01:23 +0000 (16:01 +0000)
committerDaniel Ferradal <dferradal@apache.org>
Wed, 21 Jun 2017 16:01:23 +0000 (16:01 +0000)
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
docs/manual/mod/mod_alias.xml

index 8a239135a7d3e041f77d44f5108617ce14ff9731..c76f40ddb4fcf48511fc8437da31d08ba64e9344 100644 (file)
@@ -310,8 +310,11 @@ a different URL</td></tr>
 
     <p>The new <em>URL</em> 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.</p>
+    In this latter case the scheme and hostname of the current server
+    will be added if if you have 
+    <code class="directive"><a href="../mod/core.html#usecanonicalname">UseCanonicalName</a></code> set to on, 
+    otherwise the hostname will be replaced with the requested Host 
+    header.</p>
 
     <p>Then any request beginning with <em>URL-path</em> will return a
     redirect request to the client at the location of the target
index fc1040f15a56e4dd09b1df0935f7895f3c08ee77..67e3bd15ce752202e38486e66eef74ce26b84b26 100644 (file)
@@ -307,8 +307,11 @@ a different URL</description>
 
     <p>The new <em>URL</em> 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.</p>
+    In this latter case the scheme and hostname of the current server
+    will be added if if you have 
+    <directive module="core">UseCanonicalName</directive> set to on, 
+    otherwise the hostname will be replaced with the requested Host 
+    header.</p>
 
     <p>Then any request beginning with <em>URL-path</em> will return a
     redirect request to the client at the location of the target