Loading
0

jieqi杰奇程序IIS7/IIS8/IIS10下web.config伪静态规则

技术小学生微信公众号
腾讯云服务器大促销。
华为服务器
jieqi杰奇小说程序IIS7/IIS8/IIS10下web.config伪静态规则 将如下规则保存到web.config文件中,并放到网站根目录下,如已经存在有web.config文件,则只需要把<rewrite></rewrite>及中间内容复制放到<system.webServer>下面
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="jieqiRule 2">
                    <match url="^xuanhuanxiaoshuo$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=1" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 3">
                    <match url="^xuanhuanxiaoshuo/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=1" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 4">
                    <match url="^xiuzhenxiaoshuo$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=2" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 5">
                    <match url="^xiuzhenxiaoshuo/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=2" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 6">
                    <match url="^dushixiaoshuo$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=3" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 7">
                    <match url="^dushixiaoshuo/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=3" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 8">
                    <match url="^chuanyuexiaoshuo$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=4" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 9">
                    <match url="^chuanyuexiaoshuo/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=4" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 10">
                    <match url="^wangyouxiaoshuo$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=5" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 11">
                    <match url="^wangyouxiaoshuo/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=5" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 12">
                    <match url="^kehuanxiaoshuo$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=6" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 13">
                    <match url="^kehuanxiaoshuo/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class=6" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 14">
                    <match url="^paihangbang$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/paihang.php?type1=yes" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 15">
                    <match url="^paihangbang/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/paihang.php?type1=yes" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 16">
                    <match url="^paihangbang/allvote.html$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/paihang.php?type1=yes" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 17">
                    <match url="^paihangbang/goodnum.html$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/paihang.php?type2=yes" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 18">
                    <match url="^paihangbang/newbook.html$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/paihang.php?type3=yes" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 19">
                    <match url="^xiaoshuodaquan$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/xiaoshuodaquan.php" />
                </rule>
                <rule name="jieqiRule 20">
                    <match url="^xiaoshuodaquan/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/xiaoshuodaquan.php" />
                </rule>
                <rule name="jieqiRule 21">
                    <match url="^shu([0-9]+)$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/reader.php?aid={R:1}" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 22">
                    <match url="^shu([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/reader.php?aid={R:1}" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 23">
                    <match url="^shu([0-9]+)/([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/reader.php?aid={R:1}&amp;cid={R:2}"
                        appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 24">
                    <match url="^list/([0-9]+)_([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class={R:1}&amp;page={R:2}"
                        appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 25">
                    <match url="^list/([0-9]+)_([0-9]+)$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?class={R:1}&amp;page={R:2}"
                        appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 26">
                    <match url="^top/([a-z]+)_([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/toplist.php?sort={R:1}&amp;page={R:2}"
                        appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 27">
                    <match url="^top/([a-z]+)_([0-9]+)$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/toplist.php?sort={R:1}&amp;page={R:2}"
                        appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 28">
                    <match url="^shu([0-9]+)$" ignoreCase="false" />
                    <action type="Rewrite" url="modules/article/articleinfo.php?id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 29">
                    <match url="^shu([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="modules/article/articleinfo.php?id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 30">
                    <match url="^quanben/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?fullflag=1"
                        appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 31">
                    <match url="^quanben$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/articlelist.php?fullflag=1"
                        appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 32">
                    <match url="^52mb/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.html" />
                </rule>
                <rule name="jieqiRule 33">
                    <match url="^templates/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.html" />
                </rule>
                <rule name="jieqiRule 34">
                    <match url="^themes/52mb/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.html" />
                </rule>
                <rule name="jieqiRule 35">
                    <match url="^modules/article/templates/$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.html" />
                </rule>
                <rule name="jieqiRule 36">
                    <match url="^modules/article/templates/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.html" />
                </rule>
                <rule name="jieqiRule 37">
                    <match url="^sort.html$" ignoreCase="false" />
                    <action type="Rewrite" url="/wap/sort.php" />
                </rule>
                <rule name="jieqiRule 38">
                    <match url="^top.html$" ignoreCase="false" />
                    <action type="Rewrite" url="/wap/top.php" />
                </rule>
                <rule name="jieqiRule 39">
                    <match url="^bookcase.php$" ignoreCase="false" />
                    <action type="Rewrite" url="/wap/bookcase.php" />
                </rule>
                <rule name="jieqiRule 40">
                    <match url="^sort-([0-9]+)-([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="/wap/sort.php?sortid={R:1}&amp;page={R:2}" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 41">
                    <match url="^top-([a-z]+)-([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="/wap/top.php?type={R:1}&amp;page={R:2}" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 42">
                    <match url="^full-([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/full.php?page={R:1}" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 43">
                    <match url="^wapbook/([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/wapinfo.php?id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 44">
                    <match url="^wapbook([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/wapallchapter.php?aid={R:1}&amp;page=1"
                        appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 45">
                    <match url="^wapbook([0-9]+)_([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/wapallchapter.php?aid={R:1}&amp;page={R:2}"
                        appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 46">
                    <match url="^wapbook([0-9]+)_([0-9]+)_1/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/wapallchapter.php?aid={R:1}&amp;page={R:2}&amp;desc=1"
                        appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 47">
                    <match url="^wapbook([0-9]+)/([0-9]+)/$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/wapreader.php?aid={R:1}&amp;cid={R:2}"
                        appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 48">
                    <match url="^author/(.*)$" ignoreCase="false" />
                    <action type="Rewrite" url="/modules/article/author.php?author={R:1}" appendQueryString="false" />
                </rule>
                <rule name="jieqiRule 49">
                    <match url="^52mb/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.html" />
                </rule>
                <rule name="jieqiRule 50">
                    <match url="^templates/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.html" />
                </rule>
                <rule name="jieqiRule 51">
                    <match url="^themes/52mb/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.html" />
                </rule>
                <rule name="jieqiRule 52">
                    <match url="^modules/article/templates/$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.html" />
                </rule>
                <rule name="jieqiRule 53">
                    <match url="^modules/article/templates/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.html" />
                </rule>
                <rule name="jieqiRule 54">
                    <match url="^wap/qijixs/(.*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="/404.html" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

 

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

声明:站长码字很辛苦啊,转载时请保留本声明及附带文章链接:https://blog.tag.gg/showinfo-8-35974-0.html
亲爱的:若该文章解决了您的问题,可否收藏+评论+分享呢?
上一篇:Wordpress程序IIS7/IIS8/IIS10下web.config伪静态规则
下一篇:thinkphp及typecho博客程序IIS7/IIS8/web.config伪静态规则