zoukankan      html  css  js  c++  java
  • web.config 301

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <!-- <httpRedirect enabled="true" destination="http://www.some.com/" exactDestination="true" httpResponseStatus="Permanent" /> -->
            <rewrite>
                <rules>
                    <rule name="WWWR" stopProcessing="true">
                        <match url=".*" />
                        <conditions>
                            <add input="{HTTP_HOST}" pattern="^some.com$" />
                        </conditions>
                        <action type="Redirect" url="http://www.some.com/{R:0}" />
                    </rule>
                    <rule name="Wapcms">
                        <match url="^(.*)$" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="index.php/{R:1}" logRewrittenUrl="true" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>
  • 相关阅读:
    ASP.NET Repeater-重复器
    ADO.NET数据库访问技术
    类库和委托、 is 和as
    小知识
    多态
    封装和继承
    资源管理器
    简易计算器
    小知识点
    jquery cookie页面传值和jquery监听页面刷新
  • 原文地址:https://www.cnblogs.com/llll/p/7245752.html
Copyright © 2011-2022 走看看