Microsoft Internet Security and Acceleration Server 2000

FPCWebPublishingRule.SendOriginalHostHeader Property

Gets or sets whether ISA Server sends the original host header, or the header related to the site specified in the Web publishing rule. This property cannot be set through ISA Management.

VBScript Syntax[VBScript]

FPCWebPublishingRule.SendOriginalHostHeader [ = bSendOriginalHostHeader ]

C++ Syntax[C++]

HRESULT get_SendOriginalHostHeader( 
  Variant_BOOL *pbSendOriginalHostHeader
);

HRESULT put_SendOriginalHostHeader( 
  Variant_BOOL bSendOriginalHostHeader
);

Parameters

bSendOriginalHostHeader
Boolean that specifies whether the original host header is sent. The default value is FALSE, indicating that the header related to the site specified in the Web publishing rule is sent.

The property is read-write.

Example

The following VBScript script sets SendOriginalHostHeader to TRUE.

set objFPC=CreateObject("FPC.Root")
set rule = objFPC.arrays(1).Publishing.WebPublishingRules(1)
rule.SendOriginalHostHeader = true
rule.save

Remarks

ISA Server, by default, sends the host header corresponding to published sites, that is, the header related to the site specified in the publishing rule, rather than the original host header that ISA received. However, there are scenarios where the publishing servers rely on the host header to generate links on a page instead of generating relative links. These servers must receive the original host header which is recognized by the client. This property allows those servers to receive the original host header.

Applies To

FPCWebPublishingRule