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

来源:互联网 发布:mac怎么重置系统 编辑:程序博客网 时间:2024/05/07 04:04

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" >

0 0