]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Note about Absolute URL w.r.t. query-string in mod_rewrite [skip ci]
authorYann Ylavic <ylavic@apache.org>
Wed, 1 Jun 2022 11:05:37 +0000 (11:05 +0000)
committerYann Ylavic <ylavic@apache.org>
Wed, 1 Jun 2022 11:05:37 +0000 (11:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1901487 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.xml

index 8174690b5179704e2932186e501e30a0bcc26cff..4eda236adf587d749f8e258668576afc9efac74f 100644 (file)
@@ -1239,13 +1239,16 @@ cannot use <code>$N</code> in the substitution string!
 
         <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>