一段urlrewrite的内容,哪位高人给翻译一下。
俺是看不懂正则,求翻译。谢谢!
<rule>
<from>^/$</from>
<to>/news/</to>
</rule>
<rule>
<from>^/((css|js|pic|img)/.*)$</from>
<to>/$1</to>
</rule>
<rule>
<from>^/(.*\.favicon.ico)$</from>
<to>/$1</to>
</rule>
<rule>
<from>^/gadgets/list/$</from>
<to>/news/gadgets/list/1/</to>
</rule>
<rule>
<from>^/(.*)$</from>
<to>/news/$1</to>
</rule>