URL rewriting with TomCat
Posted
by Tudor Olariu
on Server Fault
See other posts from Server Fault
or by Tudor Olariu
Published on 2010-04-13T08:46:34Z
Indexed on
2010/04/13
8:53 UTC
Read the original article
Hit count: 423
tomcat
|url-rewriting
I am looking to rewrite an incoming url request on TomCat with the Tuckey rewriter:
<rule>
<from>/OutputFile?sourceArticleId=([0-9]+)</from>
<to>/app/clipping/get/$1</to>
</rule>
the "?" question mark fails the regexp pattern matching. How can I properly escape it or what is the correct solution for this?
© Server Fault or respective owner