


IIS7服务器环境下隐藏index.php方法介绍
准备工具:http://www.ucbug.com/soft/132574.html
1、打开链接:rewrite_x64_zh-CN.msi
2、保存文件:rewrite_x64_zh-CN.msi
3、安装

4、重新打开IIS服务器管理器 或者 刷新要操作的网站
5、管理区多了“URL重写”选项:

6、打开“URL重写”,点击右侧栏“导入规则”:

7、填入 重写规则 ,然后点击右侧“应用”提交:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]




亲爱的:若该文章解决了您的问题,可否收藏+评论+分享呢?
文章评论 本文章有个评论