How to specify alternate urlrewrite.xml files

29 views
Skip to first unread message

dushy

unread,
May 24, 2012, 8:52:52 AM5/24/12
to UrlRewrite
Hi,
We have a requirement where we want to match the query strings in the
<from> clause of the rules, for a selected few URLs and not for
others. The way we see it we would have to create two urlrewrite.xml
files, one where the use-query-string="true" for the <urlrewrite> tag
and the other where it is not.

However we are not able to configure more than one rewrite.xml files,
in web.xml.
Request you to suggest us a way of doing it.

Thanks,
/Dushyant

Avlesh Singh

unread,
May 24, 2012, 8:59:33 AM5/24/12
to urlre...@googlegroups.com
There is no way to specify multiple configuration files for URF. Also, "use-query-string" is a top level attribute and *cannot* be overridden per rule. That said, you might want to create an enhancement ticket for latter - I can think of some valid use-cases that might need it.

Cheers 
Avlesh

--
You received this message because you are subscribed to the Google Groups "UrlRewrite" group.
To post to this group, send email to urlre...@googlegroups.com.
To unsubscribe from this group, send email to urlrewrite+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/urlrewrite?hl=en.


Reply all
Reply to author
Forward
0 new messages