httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <cove...@gmail.com>
Subject Re: [users@httpd] How to override Apache default headers?
Date Tue, 15 Jul 2008 11:30:24 GMT
On Mon, Jul 14, 2008 at 11:48 PM, Anand Kulkarni <AnandK@synechron.com> wrote:
> Hi,
>
> I am using mod_proxy to establish proxy communication between TCP client and
> TCP server.
>
> When I send request from client to server through Apache as proxy, Apache
> adds the following headers automatically:
>
> POST / HTTP/1.1
> Host: 192.168.56.17:9801
> X-Forwarded-For: 192.168.56.17
> X-Forwarded-Server: www.abc.com
> Connection: Keep-Alive
> Content-Length: [Specified from client side]
>
> How can I ask Apache not to send such headers to the TCP server?

You can't really suppress them.  If you're using mod_proxy_http with
something that doesn't talk HTTP you're probably on the wrong path.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message