RE: how to preserve remote_host/addr when using proxy

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

 



Maybe it's x-forwarded-for mentioned by Gergely. I'm going to give this
a try, and take a look at mod_jk suggested by Alex.

Thank you all for the help,
Yong 

> -----Original Message-----
> From: Russ [mailto:rsivak@xxxxxxxxxxxxx] 
> Sent: Wednesday, May 16, 2007 9:12 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re:  how to preserve remote_host/addr 
> when using proxy
> 
> I had the same problem and ended up writing a java filter for 
> my jrun server that replaces the remote_ip with the 
> proxied_for value that apache sets (not sure of the exact 
> variable names now, as I'm not in front of a pc.
> 
> Russ
> Sent wirelessly via BlackBerry from T-Mobile.  
> 
> -----Original Message-----
> From: "Yong Liang" <YLiang@xxxxxxxxxxx>
> Date: Tue, 15 May 2007 23:32:54
> To:<users@xxxxxxxxxxxxxxxx>
> Subject:  how to preserve remote_host/addr when 
> using proxy
> 
> 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 
>  
> 
> ---------------------------------------------------------------------
> 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
> 
> 

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