httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54126] New: Mod_rewrite failing because of url in query string parameter
Date Fri, 09 Nov 2012 18:06:18 GMT

          Priority: P2
            Bug ID: 54126
           Summary: Mod_rewrite failing because of url in query string
          Severity: normal
    Classification: Unclassified
          Hardware: PC
            Status: NEW
           Version: 2.5-HEAD
         Component: mod_rewrite
           Product: Apache httpd-2

I have this URL rewrite rule

    RewriteRule ^(send-your-request.*)$ / [NC,L,QSA,R=301]

it should basically just remove "/send-your-request" from the the URL (i.e.
rewrite it with query string parameters from the domain i.e.

is rewritten to:

In that cases it works, but if I add the last parameter, it stops working

The final parameter is a url. If I change the url from "http://" to "htp://" it
will work. So apparently it's getting tripped up on the "http" part of that
parameter value. Really wish I had a workaround. This is breaking functionality
on a live ecommerce site. Also, I did test these rules with some online rewrite
rule tools, and they did not fail. But they do fail on my server. So I wonder
if the test tools are not modeling the bug.

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