分享互联网中的点点滴滴

Emlog IIS7.5伪静态

<?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)

本站所有文章、图片、资源等如无特殊说明或标注,均为来自互联网或者站长原创,版权归原作者所有;仅作为个人学习、研究以及欣赏!如若本站内容侵犯了原著者的合法权益,可联系我们进行处理,邮箱:250048111@qq.com
赞(0) 打赏
标签:

上一篇:

下一篇:

相关推荐

如果你觉得这篇文章对你有帮助,请赞助一下我吧。

支付宝扫一扫打赏

微信扫一扫打赏