]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
comment#435 -- Redirect didn't always take a url-path in 2.2.x
authorEric Covener <covener@apache.org>
Tue, 6 Nov 2012 18:25:47 +0000 (18:25 +0000)
committerEric Covener <covener@apache.org>
Tue, 6 Nov 2012 18:25:47 +0000 (18:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1406262 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_alias.xml

index 18a15cf25ebcb4898f38ee9d89481f2f2a1900ec..a2e18ae2ec58f76dfaa223c87f1723a68929eced 100644 (file)
@@ -254,6 +254,8 @@ a different URL</description>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context><context>.htaccess</context></contextlist>
 <override>FileInfo</override>
+<compatibility>Support for specifying a URL-path as the final argument was 
+added in Apache HTTP Server 2.2.6</compatibility>
 
 <usage>
     <p>The Redirect directive maps an old URL into a new one by asking
@@ -262,9 +264,9 @@ a different URL</description>
     <p>The old <em>URL-path</em> is a case-sensitive (%-decoded) path
     beginning with a slash.  A relative path is not allowed.  The new
     <em>URL</em> should be an absolute URL beginning with a scheme and
-    hostname, but a URL-path beginning with a slash may also be used,
-    in which case the scheme and hostname of the current server will
-    be added.</p>
+    hostname.  In Apache HTTP Server 2.2.6 and later, a URL-path beginning 
+    with a slash may also be used, in which case the scheme and hostname 
+    of the current server will be added.</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