本文介绍了IIS7 设置文件位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

IIS7 将每个虚拟目录/应用程序的配置及其物理路径保存在哪里?

Where does IIS7 saves its configuration for each virtual directory/ application and its physical path?

它是一个 XML 文件吗?如果是这样,编辑这个 XML 文件会影响 IIS 配置(重启后)吗?

Is it an XML file? And if so, will editing this XML file affect the IIS configuration (after restarting)?

推荐答案

听起来你在寻找applicationHost.config,它位于C:WindowsSystem32inetsrvconfig.

It sounds like you're looking for applicationHost.config, which is located in C:WindowsSystem32inetsrvconfig.

是的,它是一个 XML 文件,是的,手动编辑文件会在重启后影响 IIS 配置.您可以将 IIS 管理器视为用于编辑 applicationHost.configweb.config 的 GUI 前端.

Yes, it's an XML file, and yes, editing the file by hand will affect the IIS config after a restart. You can think of IIS Manager as a GUI front-end for editing applicationHost.config and web.config.

这篇关于IIS7 设置文件位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 15:18