首页 > Web开发 > 详细

thinkphp 伪静态 自定义后缀

时间:2017-02-07 16:34:25      阅读:243      评论:0      收藏:0      [点我收藏+]
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        
<rewrite>
 <rules>
<rule name="已导入的规则 1" stopProcessing="true">
 <match url="^(.*).shtml$" />
 <conditions logicalGrouping="MatchAll">
 <add input="{HTTP_HOST}" pattern="^(.*)$" />
 <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}" />
 </rule>
 </rules>
 </rewrite>
    </system.webServer>
</configuration>

 

thinkphp 伪静态 自定义后缀

原文:http://www.cnblogs.com/hellowzd/p/6374507.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!