Microsoft Internet Security and Acceleration Server 2000 |
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.
FPCWebPublishingRule.SendOriginalHostHeader [ = bSendOriginalHostHeader ]
HRESULT get_SendOriginalHostHeader( Variant_BOOL *pbSendOriginalHostHeader ); HRESULT put_SendOriginalHostHeader( Variant_BOOL bSendOriginalHostHeader );
The property is read-write.
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
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.