A-A+

emlog 伪静态IIS7/7.5 规则

2012年04月26日 Emlog 暂无评论 阅读 265 次浏览 次
IIS7/7.5 规则

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3.     <system.webServer>
  4.         <rewrite>
  5.             <rules>
  6.                 <rule name="emlog 4.0.1 for IIS7.5" stopProcessing="true">
  7.                     <match url="." ignoreCase="false" />
  8.                     <conditions logicalGrouping="MatchAll">
  9.                         <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
  10.                         <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
  11.                     </conditions>
  12.                     <action type="Rewrite" url="/index.php" />
  13.                 </rule>
  14.             </rules>
  15.         </rewrite>
  16.     </system.webServer>
  17. </configuration>
  18.  

复制代码

 

标签:

评论已关闭!

Copyright © 香港虚拟主机_美国虚拟主机_香港服务器_美国服务器租用托管 保留所有权利.   Theme  Ality 蜀ICP备14006632号-1

用户登录