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 彩虹外链网盘V5.5更新
彩虹外链网盘V5.5更新
2
VideoProc v5.4终身许可赠品版
VideoProc v5.4终身许可赠品版
3
获取网站favicon小图标API接口
获取网站favicon小图标API接口
4
WordPress 前后台优化插件 WP-China-Plus
WordPress 前后台优化插件 WP-China-Plus
5
剪映专业版 v0.7.1 for Windows 电脑版发布
剪映专业版 v0.7.1 for Windows 电脑版发布
大米酱

大米酱管理员

三百六十行,行行出BUG。

本月创作热力图

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