You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Anand Kulkarni <An...@synechron.com> on 2008/07/15 05:48:27 UTC
[users@httpd] How to override Apache default headers?
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: <http://www.abc.com> 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?
-Anand
Re: [users@httpd] How to override Apache default headers?
Posted by Eric Covener <co...@gmail.com>.
On Mon, Jul 14, 2008 at 11:48 PM, Anand Kulkarni <An...@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