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

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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章