You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2022/06/01 11:50:38 UTC
svn commit: r1901492 - in /httpd/httpd/branches/2.4.x: ./ docs/manual/mod/mod_rewrite.xml
Author: ylavic
Date: Wed Jun 1 11:50:37 2022
New Revision: 1901492
URL: http://svn.apache.org/viewvc?rev=1901492&view=rev
Log:
Note about Absolute URL redirects w.r.t. query-string in mod_rewrite [skip ci]
Merge r1901487 from trunk.
Submitted by: ylavic
Modified:
httpd/httpd/branches/2.4.x/ (props changed)
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml
Propchange: httpd/httpd/branches/2.4.x/
------------------------------------------------------------------------------
Merged /httpd/httpd/trunk:r1901487
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml?rev=1901492&r1=1901491&r2=1901492&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml Wed Jun 1 11:50:37 2022
@@ -1232,13 +1232,16 @@ cannot use <code>$N</code> in the substi
<dt>Absolute URL</dt>
- <dd>If an absolute URL is specified,
+ <dd><p>If an absolute URL is specified,
<module>mod_rewrite</module> checks to see whether the
hostname matches the current host. If it does, the scheme and
hostname are stripped out and the resulting path is treated as
a URL-path. Otherwise, an external redirect is performed for
the given URL. To force an external redirect back to the
- current host, see the <code>[R]</code> flag below.</dd>
+ current host, see the <code>[R]</code> flag below.</p>
+ <p>Note that a redirect (implicit or not) using an absolute URI
+ will include the requested query-string, to prevent this see the
+ <code>[QSD]</code> flag below.</p></dd>
<dt><code>-</code> (dash)</dt>