Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Custom HTTP headers are inherited from a website after running aspnet_regiis.exe on Internet Information Services (IIS) 6.0


Summary

Consider the following scenario. You have custom HTTP headers configured for your IIS 6.0 Web site. By default, these custom headers get inherited to the applications or virtual directories underneath this web site. However, you have specifically removed these headers from the application or virtual directory levels. You run aspnet_regiis.exe with the install (-i), uninstall (-u) or repair (-iru) switches. During the aspnet_regiis.exe routine, your custom HTTP headers will be added back to the applications or virtual directories in question. These newly added headers are essentially the headers that are present at the parent web site level.


↑ Back to the top


More Information

This behavior only occurs on Windows Server 2003 running IIS 6.0. Simply remove the unwanted headers from the application or virtual directory configuration if they re-appear after running aspnet_regiis.exe. 


↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2321027
Revision : 1
Created on : 1/7/2017
Published on : 8/11/2010
Exists online : False
Views : 574