urlrewrite dropping parameters after ? ( question mark)

113 views
Skip to first unread message

Drew DeGraff

unread,
Nov 14, 2014, 10:18:18 AM11/14/14
to urlre...@googlegroups.com
I have configured urlrewrite...which was a complete pain for tomcat7...none of the instructions were complete or were from 10000 feet up.

Anyway.. here is my xml

<urlrewrite>
<rule>
<note>
rewrite from old apex system
</note>
       <rule>
            <from>/pls/apex/(.*)</from>
            <to type="redirect">/apex/$1</to>
        </rule> </rule>
</urlrewrite>


Migrating from Oracle HTTP Server to Tomcat.  We basically have gotten rid of the pls, but have legacy stuff so I need this url redirected


So I need this:

to map to this: 

but I get this instead:


It's dropping everything after the "?"


Any ideas?

Mikel Stone

unread,
Nov 15, 2014, 11:55:30 AM11/15/14
to urlre...@googlegroups.com
Hi Drew,

I struggled with the same problem and for me this line helps:

<urlrewrite use-query-string="true">

diego...@schibsted.com

unread,
Aug 14, 2018, 9:15:05 PM8/14/18
to UrlRewrite
You!! Mikel!!! THANKS!!!!! That worked beautifully!
Reply all
Reply to author
Forward
0 new messages