使用Url Rewrite Filter实现页面伪静态化

xiaoxiao2022-06-23  48

转自 : http://ezplus.iteye.com/blog/81080

 

 

<rule> <from>/t/([0-9]+)</from> <to>../index.jsp?user=$1</to> </rule> <rule> <from>/blog/([0-9]+).htm</from> <to>../index.jsp?id=$1hh</to> </rule> <rule> <from>/(.*)/bbs/</from> <to>../../index.jsp?id=$1</to> </rule> <rule> <from>/([0-9]+)_([a-z]+).html$</from> <to>/index.jsp?id=$1$2</to> </rule>  
转载请注明原文地址: https://www.6miu.com/read-4952961.html

最新回复(0)