From cvs-return-35574-apmail-httpd-cvs-archive=httpd.apache.org@httpd.apache.org Sun May 16 11:08:22 2010 Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 95378 invoked from network); 16 May 2010 11:08:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 May 2010 11:08:22 -0000 Received: (qmail 84007 invoked by uid 500); 16 May 2010 11:08:22 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 83952 invoked by uid 500); 16 May 2010 11:08:22 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 83941 invoked by uid 99); 16 May 2010 11:08:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 May 2010 11:08:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 May 2010 11:08:20 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4EF3923888CD; Sun, 16 May 2010 11:08:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r944795 - in /httpd/httpd/trunk/docs/manual/mod: mod_alias.html.en mod_alias.xml Date: Sun, 16 May 2010 11:08:00 -0000 To: cvs@httpd.apache.org From: igalic@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100516110800.4EF3923888CD@eris.apache.org> Author: igalic Date: Sun May 16 11:07:59 2010 New Revision: 944795 URL: http://svn.apache.org/viewvc?rev=944795&view=rev Log: Clarifying Redirect of GET/POST. Modified: httpd/httpd/trunk/docs/manual/mod/mod_alias.html.en httpd/httpd/trunk/docs/manual/mod/mod_alias.xml Modified: httpd/httpd/trunk/docs/manual/mod/mod_alias.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_alias.html.en?rev=944795&r1=944794&r2=944795&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_alias.html.en (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_alias.html.en Sun May 16 11:07:59 2010 @@ -290,7 +290,12 @@ a different URL

If the client requests http://example.com/service/foo.txt, it will be told to access http://foo2.example.com/service/foo.txt - instead. Only complete path segments are matched, so the above + instead. This includes requests with GET parameters, such as + http://example.com/service/foo.pl?q=23&a=42, + it will be redirected to + http://foo2.example.com/service/foo.pl?q=23&a=42. + Note that POSTs will be discarded.
+ Only complete path segments are matched, so the above example would not match a request for http://example.com/servicefoo.txt. For more complex matching using regular expressions, see the RedirectMatch directive.

Modified: httpd/httpd/trunk/docs/manual/mod/mod_alias.xml URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_alias.xml?rev=944795&r1=944794&r2=944795&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_alias.xml (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_alias.xml Sun May 16 11:07:59 2010 @@ -280,7 +280,12 @@ a different URL

If the client requests http://example.com/service/foo.txt, it will be told to access http://foo2.example.com/service/foo.txt - instead. Only complete path segments are matched, so the above + instead. This includes requests with GET parameters, such as + http://example.com/service/foo.pl?q=23&a=42, + it will be redirected to + http://foo2.example.com/service/foo.pl?q=23&a=42. + Note that POSTs will be discarded.
+ Only complete path segments are matched, so the above example would not match a request for http://example.com/servicefoo.txt. For more complex matching using regular expressions, see the