问题描述
我已安装Windows 2008 Web Server并启用IIS。但是,我的machine.config文件显示:
section name =system.webServertype =System.Configuration.IgnoreSection ...
I've installed Windows 2008 Web Server and enabled IIS. However, my machine.config file shows:section name = "system.webServer" type = "System.Configuration.IgnoreSection...
我试图编辑一些网站的属性(例如目录浏览),它工作正常。是machine.config定义在其他地方改变了?
I tried to edit some web site's properties (e.g. directory browsing), and it works correctly. Is the machine.config definition changed somewhere else?
ulu
推荐答案
system.webserver config现在保存在system32 \inetsrv\config\applicationhost.config。这是全新的。
The system.webserver config is now maintained at system32\inetsrv\config\applicationhost.config. Here's the whole new config setup for IIS7.
通常,applicationhost.config和machine.config用于系统管理员,而web.config是为开发人员。
Generally, the applicationhost.config and machine.config are for the System Admins, while the web.config is for the developer.
这篇关于system.webserver部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!