https://issues.apache.org/bugzilla/show_bug.cgi?id=44509
Summary: Avoid query strings getting copied over to the target
url
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P4
Component: mod_rewrite
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
When i set up a rewrite rule with a Query String condition, the query string
gets copied over and appends to the target url which i don't want. How can I
prevent it from happening?
Here is the rule.
RewriteCond %{QUERY_STRING} a=b [NC]
RewriteRule ^/rewrite/query/string http://www.website.com/ [R=301,L,NS,NC]
When i hit the source url, it fires the rewrite rule, but it adds the query
string too. How do we prevent the quesry string from getting added to the
target?
http://www.website.com/?a=b
I thought it was a bug with Apache, but, there might be an option to not let it
happen. Sorry to log this in the bugs category.
Any help would greatly be appreciated.
Thanks
Mani
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]