httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
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 GMT
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</td></tr>
     <p>If the client requests <code>http://example.com/service/foo.txt</code>,
     it will be told to access
     <code>http://foo2.example.com/service/foo.txt</code>
-    instead.  Only complete path segments are matched, so the above
+	instead. This includes requests with <code>GET</code> parameters, such as
+    <code>http://example.com/service/foo.pl?q=23&amp;a=42</code>,
+    it will be redirected to 
+    <code>http://foo2.example.com/service/foo.pl?q=23&amp;a=42</code>.
+	Note that <code>POST</code>s will be discarded.<br />
+	Only complete path segments are matched, so the above
     example would not match a request for
     <code>http://example.com/servicefoo.txt</code>.  For more complex matching
     using regular expressions, see the <code class="directive"><a href="#redirectmatch">RedirectMatch</a></code>
directive.</p>

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</description>
     <p>If the client requests <code>http://example.com/service/foo.txt</code>,
     it will be told to access
     <code>http://foo2.example.com/service/foo.txt</code>
-    instead.  Only complete path segments are matched, so the above
+	instead. This includes requests with <code>GET</code> parameters, such as
+    <code>http://example.com/service/foo.pl?q=23&amp;a=42</code>,
+    it will be redirected to 
+    <code>http://foo2.example.com/service/foo.pl?q=23&amp;a=42</code>.
+	Note that <code>POST</code>s will be discarded.<br />
+	Only complete path segments are matched, so the above
     example would not match a request for
     <code>http://example.com/servicefoo.txt</code>.  For more complex matching
     using regular expressions, see the <directive



Mime
View raw message