Re: how to preserve remote_host/addr when using proxy

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

 




On 16 May 2007, at 09:32, Yong Liang wrote:

Hi all,

We're using a reverse proxy to redirect access to java servlets listening on port 9080. The problem is all http requests received by servlets have remote_addr set to 127.0.0.1. Is there a way to configure the proxy to keep the original ip/host when redirecting?

Thanks,
Yong

Hi,

I would suggest mod_jk - it works for Tomcat, I don't know about other servlet containers, but it's worth a shot.
http://tomcat.apache.org/connectors-doc/

Cheers,
-- Alex


---------------------------------------------------------------------
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