URL Rewrite Module 怎么不起作用?
<system.webServer> <validation validateIntegratedModeConfiguration="false" /> <rewrite> <rules> <rule name="rule3" stopProcessing="false"> <match url="/zt/([^/]+)/shipin/$" /> <action type="Rewrite" url="/Handler.ashx?encoding=utf-8&page=/zt/{R:1}/shipin/" /> </rule> <rule name="rule1" stopProcessing="false"> <match url="^/zt/([^/]+)/shipin/([^/]+)/$" /> <action type="Rewrite" url="/Handler.ashx?encoding=utf-8&page=/pzt/{R:1}/shipin/{R:2}/" /> </rule> <rule name="rule2" stopProcessing="false"> <match url="^/zt/([^/]+)/shipin/([^/]+)/(\d+)/$" /> <action type="Rewrite" url="/Handler.ashx?encoding=utf-8&page=/pzt/{R:1}/shipin/{R:2}/{R:3}/" /> </rule> </rules> </rewrite> </system.webServer>
没人用这些东西???
我的也不起作用