gpt4 book ai didi

iis-7 - Web.Config 导致 500 内部服务器错误

转载 作者:行者123 更新时间:2023-12-02 18:12:27 25 4
gpt4 key购买 nike

这是我的 web.config 文件内容:

<?xml version="1.0"?> 

<configuration>

<system.webServer>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
<rewrite>
<rules>
<rule name="Main Rule" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>

</system.webServer>

<system.web>
<customErrors mode="Off"/>
<compilation debug="true"/>
</system.web>
</configuration>

我正在尝试使用漂亮的 WordPress 永久链接。

但是这个web.config文件会导致500内部服务器错误

问题是什么?

最佳答案

问题出在服务器上,他们没有正确安装Microsoft URL Rewriting Module...

模块已正确安装,问题已解决。

关于iis-7 - Web.Config 导致 500 内部服务器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9684704/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com