转自 : 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>