帮助中心首页 ssl证书安装 域名自动跳转https代码
Apache服务器域名自动跳转
最后更新:2020-01-03
     <!--新静态化重写开始-->
   <rewrite>
      <rules>
        <rule name="301" stopProcessing="true">
                    <match url="^(.*)$" ignoreCase="false" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{HTTP_FROM_HTTPS}" pattern="^on$" negate="true" />
                    </conditions>
                    <action type="Redirect" url="https://demo.aisi365.com/{R:1}" redirectType="Permanent" />
               </rule>
        <rule name="rule1" stopProcessing="true">
          <match url="^(apply|Default|default|help).html" />
          <action type="Rewrite" url="{R:1}.aspx"  />
        </rule>
        <rule name="rule2" stopProcessing="true">
          <match url="^([A-Za-z0-9]+)-m([0-9]+).html" />
          <action type="Rewrite" url="{R:1}.aspx?mid={R:2}"  />
        </rule>
        <rule name="rule3" stopProcessing="true">
          <match url="^([A-Za-z0-9]+)-n([0-9]+).html" />
          <action type="Rewrite" url="{R:1}.aspx?nid={R:2}"  />
        </rule> 
        <rule name="rule4" stopProcessing="true">
          <match url="^help-m([0-9]+)-c([0-9]+).html" />
          <action type="Rewrite" url="help.aspx?mid={R:1}&amp;mc={R:2}"  />
        </rule>
        <rule name="rule5" stopProcessing="true">
          <match url="^([A-Za-z0-9]+)-m([0-9]+)-p([0-9]+).html" />
          <action type="Rewrite" url="{R:1}.aspx?mid={R:2}&amp;page={R:3}"  />
        </rule>
        <!--<rule name="rule2" stopProcessing="true">
          <match url="^wz([0-9]+).html" />
          <action type="Rewrite" url="wz.aspx?newslx={R:1}"  />
        </rule>

        <rule name="rule2p" stopProcessing="true">
          <match url="^wzp([0-9]+)-([0-9]+).html" />
          <action type="Rewrite" url="wz.aspx?newslx={R:1}&amp;page={R:2}"  />
        </rule>

        <rule name="rule2b" stopProcessing="true">
          <match url="^wz([0-9]+)-([0-9]+).html" />
          <action type="Rewrite" url="wz.aspx?newslx={R:1}&amp;newslx2={R:2}"  />
        </rule>

        <rule name="rule2bp" stopProcessing="true">
          <match url="^wzp([0-9]+)-([0-9]+)-([0-9]+).html" />
          <action type="Rewrite" url="wz.aspx?newslx={R:1}&amp;newslx2={R:2}&amp;page={R:3}"  />
        </rule>

        <rule name="rule3a" stopProcessing="true">
          <match url="^wzxx([0-9]+)-([0-9]+)-([0-9]+).html" />
          <action type="Rewrite" url="wzxx.aspx?newslx={R:1}&amp;newslx2={R:2}&amp;newsid={R:3}"  />
        </rule>

        <rule name="rule3" stopProcessing="true">
          <match url="^wzxx([0-9]+).html" />
          <action type="Rewrite" url="wzxx.aspx?newsid={R:1}"  />
        </rule>-->

      </rules>
    </rewrite>

    <!--新静态化重写结束-->
    
仍未找到你需要的内容? 联系客服