[tr][/tr]
| 有一个站点配置web.config无论怎样修改都是被秒换成默认 在服务器上直接修改也是被替换如下 在宝塔面板网站配置中修改也不起作用 在iis里比如 添加一个响应头f5刷新莫名消失 宝塔里的配置节锁定根本没有勾选锁定 iis配置节解锁也解锁不了, 配置文件 全部删了从其他正常的替换过来还是很修改成默认 后来干脆删除站点重新来还是这样 有没什么好的解决办法 急
<?xml version="1.0" ?>
<configuration>
<location allowOverride="false" inheritInChildApplications="false" path=".">
<system.webServer>
<rewrite>
<rules configSource="web_config\rewrite.config"></rules>
</rewrite>
<defaultDocument configSource="web_config\default.config"></defaultDocument>
<httpErrors configSource="web_config\httpErrors.config"></httpErrors>
<handlers configSource="web_config\php.config"></handlers>
</system.webServer>
</location>
</configuration>
|
| |
|
|
|