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伪静态规则

西数超哥学习乐园,西数超哥基础运维经验教程分享的学习乐园,西数超哥博客,运维经验教程交流学习分享的博客

原创文章,作者:zhang sir,如若转载,请注明出处:https://www.ysidc.top/7666.html