Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] How to override Apache default headers?

Anand Kulkarni

2008-07-14

Replies: Find Java Web Hosting

Author LoginPost Reply
Message
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?
 
-Anand
 
 
 
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.