问题描述
配置错误
配置部分'rewriter'无法读取,因为它缺少部分声明
Config Error
The configuration section 'rewriter' cannot be read because it is missing a section declaration
推荐答案
确保您的< rewrite>
包含在< system.webServer>< /system.webServer>
section。
Make sure your <rewrite>
is enclosed in the <system.webServer></system.webServer>
section.
另外 - []。
Also - The configuration section 'rewrite' cannot be read because it is missing a section declaration[^].
这意味着Web服务器上没有安装URL Rewrite。您可以从www.iis.net安装它,搜索URL Rewrite,它应该在顶部。
That means that URL Rewrite isn't installed on the web server. You can install it from www.iis.net, search for URL Rewrite and it should be at the top.
因为它缺少一个部分声明
because it is missing a section declaration
通常这意味着你的configsections部分没有一行在它开始之前声明该部分。
看看'声明自定义配置部分本文的一部分 ]
这篇关于HTTP错误500.19 - 内部服务器错误无法访问请求的页面,因为页面的相关配置数据无效。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!