【发布时间】:2013-12-15 02:44:00
【问题描述】:
我尝试在 web.config 中进行重定向,但出现 500 错误。 IIS的版本是8.5,但是之前我是6的,这个语法有什么问题?
<location path="Test/test.aspx">
<system.webServer>
<httpRedirect enabled="true" destination="http://domain/Test/IT/test.aspx" httpResponseStatus="Permanent" />
</system.webServer>
</location>
我收到一条错误消息:内部错误 - 500。我删除了 web.config 中的行,一切正常。
我尝试了 URL 重写功能,但出现错误。
“权限不足,无法读取配置文件”
我正在尝试使用下面的这些说明进行修复,但系统要求我输入用户名/密码。我是管理员,但这些凭据不起作用。
Cannot read configuration file due to insufficient permissions
HttpRedirectionModule 已安装在服务器中。还有,RewriteModule
【问题讨论】: