IIS 7.0和Web网站配置还受到其他XML配置文件的影响,可以在%windir%system32inetsrvconfig目录下找到这些文件,此外,文件administration.config也会对IIS 7.0和Web网站配置产生影响,因为这个文件中保存了IIS Manager的配置。
administration.config文件保存了多得多的信息,例如,IIS Manager可以使用哪个模块等。利用如下内容的配置项,可以将默认文档模块添加到IIS Manager中,并且可以对所有网站生效。
<location path=".">
<modules>
<add name="defaultDocument" />
</modules>
</location>
需要添加自定义模块,那么administration.config文件就非常重要,因为必须首先在administration.config文件中为这些自定义模块添加生成一个项,然后才能在GUI管理界面中使用这些自定义模块。
redirection.config文件只是简单地保存了指导Web服务器访问正确的集中配置文件的信息,以及访问这些文件的身份证书。这个文件的内容一般为以下形式内容:
<configuration>
<configSections>
<section name="configurationRedirection" />
</configSections>
<configurationRedirection enabled="true"path="\server1centralconfig$"userName="domain1.localconfig" password="Passw0rd1" />
</configuration>