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:[EMAIL PROTECTED] 
> Sent: Wednesday, May 16, 2007 9:12 AM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] 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" <[EMAIL PROTECTED]>
> Date: Tue, 15 May 2007 23:32:54
> To:<users@httpd.apache.org>
> Subject: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to