1 Star 0 Fork 22

dbhou/youdiancms

forked from youdiansoft/youdiancms1 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
web.config 885 Bytes
一键复制 编辑 原始数据 按行查看 历史
youdiansoft 提交于 2019-06-04 10:01 . no commit message
<?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>
<rule name="disableDownloadHtml">
<match url="^App/Tpl/.*.html$" ignoreCase="true" />
<action type="CustomResponse" url="/" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/dbhou/youdiancms.git
git@gitee.com:dbhou/youdiancms.git
dbhou
youdiancms
youdiancms
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385