美文网首页
IIS 去掉index.php

IIS 去掉index.php

作者: 干爹训练营 | 来源:发表于2017-09-30 10:06 被阅读0次

下载rewrite_x64_zh-CN.msi

地址:http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=7435

安装。

IIS中出现【URL 重写】

导入规则

规则:

[plain]view plaincopy

print?

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

完成。

相关文章

网友评论

      本文标题:IIS 去掉index.php

      本文链接:https://www.haomeiwen.com/subject/modgextx.html