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

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>

 


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

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

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏