西数超哥博客
运维经验教程分享

dedecms织梦程序IIS7/iis8/iis10下web.config伪静态规则

dedecms织梦程序IIS7/iis8/iis10下web.config伪静态规则

 

<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name=”Imported Rule 1″>
                    <match url=”list-([0-9]+).html” ignoreCase=”false” />
                    <action type=”Rewrite” url=”plus/list.php?tid={R:1}” appendQueryString=”false” />
                </rule>
                <rule name=”Imported Rule 2″>
                    <match url=”list-([0-9]+)-([0-9]+)-([0-9]+).html” ignoreCase=”false” />
                    <action type=”Rewrite” url=”plus/list.php?tid={R:1}&TotalResult={R:2}&PageNo={R:3}” appendQueryString=”false” />
                </rule>
                <rule name=”Imported Rule 3″>
                    <match url=”view-([0-9]+)-([0-9]+).html” ignoreCase=”false” />
                    <action type=”Rewrite” url=”plus/view.php?arcID={R:1}&pageno={R:2}” appendQueryString=”false” />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

 

赞(0)
声明:本站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,若涉及侵权请及时告知,将会在第一时间删除。本站原创内容未经允许不得转载:西数超哥博客 » dedecms织梦程序IIS7/iis8/iis10下web.config伪静态规则

登录

找回密码

注册