HttpCustomHeaders
HttpCustomHeaders contains custom headers that are sent to the client, in addition to the default header of the HTML file. Each String in this property is formatted as a key name and value pair: Keyname: Value.
Attribute Name | Attribute Value |
---|---|
XML Data Type | MULTISZ |
WMI Data Type |
Same as WMI data type
|
ADSI Data Type | MULTISZ |
ABO Data Type | MULTISZ |
ABO Metabase identifier |
MD_HTTP_CUSTOM
|
Attributes | INHERIT |
Default Value | null |
MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
User Type | IIS_MD_UT_FILE |
StartingNumber | Not applicable |
EndingNumber | Not applicable |
ID | 6004 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path | IIS Admin Object Type |
---|---|
/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name |
IIsWebVirtualDir |
/LM/W3SVC/n | IIsWebServer |
/LM/W3SVC | IIsWebService |
/LM/W3SVC/n/ROOT/file_name /LM/W3SVC/n/ROOT/virtual_directory_name/file_name |
IIsWebFile |
/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name |
IIsWebDirectory |
Code Example
For general code examples, please see Code Examples to Configure Metabase Properties