Commit 2f641b83 authored by Eric Covener's avatar Eric Covener
Browse files

comment#435 -- Redirect didn't always take a url-path in 2.2.x



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1406262 13f79535-47bb-0310-9956-ffa450edef68
parent 1cb2a58d
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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