iis7 php urlrewrite 并隐藏index.php
2014-07-23 13:13
288 查看
<rewrite> <rules> <rule name="OrgPage" stopProcessing="true"> <match url="^(.*)$" /> <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>
以上配置经测试,好用。
相关文章推荐
- iis7下的php实现urlrewrite,并隐藏index.php
- 隐藏了网站的入口文件index.php
- Yii Framework隐藏index.php文件的步骤
- url优化|隐藏index.php
- CI如何隐藏index.php
- nginx rewrite 隐藏index.php,利用pathinfo让url更友好
- 隐藏CodeIgniter程序URL中index.php的方法
- yii url 隐藏index.php的步骤
- apache隐藏index.php
- ThinkPHP 利用.htaccess文件的 Rewrite 规则隐藏URL中的 index.php
- PHP: Yii 隐藏index.php
- Yii URL隐藏index.php
- 隐藏index.php
- thinkphp如何隐藏index.php之IIS和nginx
- Codeigniter 隐藏URL中index.php
- ThinkPHP 利用.htaccess文件的 Rewrite 规则隐藏URL中的 index.php
- yii 隐藏index.php
- Thinkphp 隐藏 index.php 方法
- IIS7以上版本去掉伪静态去掉index.php方法
- ThinkPHP 利用.htaccess文件的 Rewrite 规则隐藏URL中的 index.php