当前位置: 首页 > 工具软件 > use-http > 使用案例 >

URLRewriteFilter usage - use-query-string="true" and use-context="true"

糜鸿风
2023-12-01

manual: http://tuckey.org/urlrewrite/manual/4.0/


1. If you want to take into account the url query parameters to the filter rules

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


2. Normal the rule <from> <to> will not involve Context, so you will lose the context after rewrite

    add use-context="true" to <urlrewrite use-query-string="true" use-context="true" >

 类似资料: