summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_rewrite.xml
diff options
context:
space:
mode:
authorRich Bowen <rbowen@apache.org>2009-12-29 14:34:24 +0100
committerRich Bowen <rbowen@apache.org>2009-12-29 14:34:24 +0100
commitc4b0fa2f7d0e268a094884c4f2349fe837f06ad0 (patch)
tree5dc78b7730f705ddf5080cc4fb6911ce383135c7 /docs/manual/mod/mod_rewrite.xml
parentFix string constness to get rid of gcc compiler warnings by -Wwrite-strings. (diff)
downloadapache2-c4b0fa2f7d0e268a094884c4f2349fe837f06ad0.tar.xz
apache2-c4b0fa2f7d0e268a094884c4f2349fe837f06ad0.zip
Adds a [QSD] flag to RewriteRule to discard unwanted query strings
without the old kludge of sticking a ? on the end of the target URI. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@894383 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_rewrite.xml')
-rw-r--r--docs/manual/mod/mod_rewrite.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index 4e75300c1c..ce74347cb4 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -1387,6 +1387,14 @@ cannot use <code>$N</code> in the substitution string!
data to the query string via a rewrite rule. This rule has no net effect
unless your substitution explicitly provides a new query string.</dd>
+ <dt>'<code>qsdiscard|QSD</code>'
+ (query string discard)</dt><dd>
+ Discards any query string attached to the incoming URI. Without
+ this flag, the query string will be automatically copied from
+ the request URI to the rewritten URL. Note, however, that if you
+ provide a query string on your target URI, that one will be used
+ instead.</dd>
+
<dt>'<code>redirect|R</code>
[=<em>code</em>]' (force <a id="redirect"
name="redirect">redirect</a>)</dt><dd>