httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 44509] New: Avoid query strings getting copied over to the target url
Date Fri, 29 Feb 2008 12:51:46 GMT

           Summary: Avoid query strings getting copied over to the target
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P4
         Component: mod_rewrite

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 [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

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.


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message