Emlog IIS7.5伪静态

虽然我不用IIS,但是,还是有一些朋友用的这个,而且还老问我,虽然百度有 都是各式各样的,还有的用不了 我这里做个记号吧,方便以后用的时候找不到。

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<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>
</system.webServer>
</configuration>

复制这段代码,保存 web.config 上传到网站根目录(亲测可用!前提环境支持web.config)

上一篇 WordPress主题header.php的优化
下一篇 PHP垃圾分类API接口源码
文章列表
1 过年"福"字你会贴吗?
过年"福"字你会贴吗?
2
很现实的一段话!
很现实的一段话!
3
安卓WPS Office v17.2.1高级版
安卓WPS Office v17.2.1高级版
4
电脑QQv9.7.3(28946)绿色版
电脑QQv9.7.3(28946)绿色版
5
钉钉直播点赞神器 1秒3000+
钉钉直播点赞神器 1秒3000+
大米酱

大米酱管理员

三百六十行,行行出BUG。

本月创作热力图

最新评论
2067608730
2067608730
4月11日
加油大米!quantou
评论于APINEXT