httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yong Liang" <YLi...@opsware.com>
Subject RE: [users@httpd] how to preserve remote_host/addr when using proxy
Date Wed, 16 May 2007 16:31:50 GMT
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@istandfor.com] 
> Sent: Wednesday, May 16, 2007 9:12 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] 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@opsware.com>
> Date: Tue, 15 May 2007 23:32:54
> To:<users@httpd.apache.org>
> Subject: [users@httpd] 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

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


Mime
View raw message