Re: How to override Apache default headers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 14, 2008 at 11:48 PM, Anand Kulkarni <AnandK@xxxxxxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux