点击登录
  • 欢迎访问无限星辰技术博客,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏无限星辰吧
  • 好集导航开张了,传送门:好集导航

modoer iis7 web.config 伪静态规则

WIN服务器 crx349 5680次浏览 0个评论 扫描二维码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<configuration>
    <system .webServer>
        <rewrite>
            <rules>
                <rule name="已导入的规则 1" stopProcessing="true">
                    <match url="^(article|card|comment|coupon|exchange|fenlei|item|link|member|index|party|product|space|tuan|ucenter|ask|pay|graph|ask|review|discussion|mobile|group)\.html$" ignoreCase="false"></match>
                    <action type="Rewrite" url="index.php?m={R:1}" appendQueryString="true"></action>
                </rule>
                <rule name="已导入的规则 2" stopProcessing="true">
                    <match url="^(article|card|comment|coupon|exchange|fenlei|item|link|member|index|party|product|space|tuan|ucenter|ask|pay|graph|ask|review|discussion|mobile|group)\-(.+)\.html$" ignoreCase="false"></match>
                    <action type="Rewrite" url="index.php?Rewrite={R:1}-{R:2}.html" appendQueryString="false"></action>
                </rule>
            </rules>
        </rewrite>
    </system>
</configuration>

无限星辰 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明modoer iis7 web.config 伪静态规则!
喜欢 (0)
[]
分享 (0)

您必须 登录 才能发表评论!