Re: client ip address

From: Patrick Viet <pviet#azuria.com>
Date: Fri, 11 Jul 2008 14:59:19 +0200


and/or mod_rpaf.

Patrick

On Fri, Jul 11, 2008 at 2:35 PM, Rainer Sabelka <sabelka#iue.tuwien.ac.at> wrote:
> On Friday 11 July 2008 14:17:16 Johan Duflost wrote:
>> I developped a web service that is accessed through haproxy.
>> It works but I need to get the client ip at the web service side but
>> instead I get the ip of haproxy. Any idea on the way I can solve this
>> problem?
>
> Add "option forwardfor" to your configuration.
> This will add an "X-Forwarded-For" request header which you can use in your
> backend servers to obtain the original IP-address.
>
> -Rainer
>
>
>
Received on 2008/07/11 14:59

This archive was generated by hypermail 2.2.0 : 2008/07/11 15:00 CEST