RE: removing the host header

From: Kevin Jones <>
Date: Fri, 29 Jul 2005 08:41:44 +0100

If you are using HTTP 1.1 then the Host header is mandatory, so removing it
is not an option.

You may be able to configure your intermediate server to change the header,
ISTR that some web servers will let you do this (Apache?),

Kevin Jones

> -----Original Message-----
> From: Matt Swensson []
> Sent: 29 July 2005 08:33
> To:
> Subject: removing the host header
> Is there a way to remove the Host header in the outgoing SOAP message
> (MIME Header).
> The reason is, I have placed my endpoint as a loadbalancer on the
> internal network that then forwards it to the correct place (secure
> connection). So my endpoint is a set IP address that is internal.
> Well, it appears jax-rpc is using the ip address I put in the endpoint
> for the host header as I get something like this:
> Host:
> in the outgoing message. The server that recieves the message still
> seems to process it, but the third party involved (where the server
> resides) prefers the header contain their IP address (or hostname).
> any thoughts on how to accomplish this?
> so removal or changing the host header would be ideal.
> Thanks!
> Matt
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail: