• Yii IIS8下使用伪静态【Url Rewrite】去掉index.php


    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
      <system.webServer>
        <directoryBrowse enabled="false" />
          <rewrite>
            <rules>
              <rule name="Hide Yii Index" stopProcessing="true">
                <match url="." ignoreCase="false" />
                <conditions>
                <add input="{REQUEST_FILENAME}" matchType="IsFile" 
                      ignoreCase="false" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" 
                      ignoreCase="false" negate="true" />
                </conditions>
                <action type="Rewrite" url="index.php" appendQueryString="true" />
              </rule> 
            </rules>
          </rewrite>
      </system.webServer>
    </configuration>

    转自:http://ju.outofmemory.cn/entry/178850

  • 相关阅读:
    vpp编写plugin
    vrf 命令
    vxlan + 多个vrf
    dpdk helloworld
    Go函数高级
    Go_defer
    Go递归函数
    Go作用域
    Go函数
    Go字符串
  • 原文地址:https://www.cnblogs.com/luotingliang/p/7249495.html
Copyright © 2020-2023  润新知