首页 新闻 会员 周边 捐助

URL Rewrite Module 怎么不起作用?

0
[已关闭问题] 关闭于 2013-01-09 15:03

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&amp;page=/zt/{R:1}/shipin/" />
        </rule>    

        <rule name="rule1" stopProcessing="false">
            <match url="^/zt/([^/]+)/shipin/([^/]+)/$" />
            <action type="Rewrite" url="/Handler.ashx?encoding=utf-8&amp;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&amp;page=/pzt/{R:1}/shipin/{R:2}/{R:3}/" />
        </rule>            

    </rules>
    </rewrite>
</system.webServer>

 

 

没人用这些东西???

fun5的主页 fun5 | 初学一级 | 园豆:4
提问于:2012-11-13 16:10
< >
分享
所有回答(1)
0

我的也不起作用

simadi | 园豆:134 (初学一级) | 2015-09-07 17:12
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册