Loading
0

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>

 


技术小学生微信公众号
华为服务器
腾讯云服务器大促销。

声明:站长码字很辛苦啊,转载时请保留本声明及附带文章链接:https://blog.tag.gg/showinfo-8-417-0.html
亲爱的:若该文章解决了您的问题,可否收藏+评论+分享呢?
上一篇:IIS7/8/10web.config规则实现百度蜘蛛访问后台(或某一个页面)就跳转到首页
下一篇:PHPEXCEL导出导入2007格式报错:Fatal error: Class 'ZipArchive' not found的解决办法