httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] Passing remote client IP address to backend server and session stickness
Date Tue, 01 Dec 2009 16:50:33 GMT
On Tue, Dec 1, 2009 at 4:29 PM, Ruiyuan Jiang <> wrote:
> Hi, Haroon
> Where do you see Apache 2.3? I don't see on the office Apache web site.
> Also where should I apply:
> <%= request.getHeader("X-Forwarded-For") %>
> In my Apache reverse proxy server? Thanks.
> Ryan

Apache 2.3 is apache development branch.

When apache acts as a reverse proxy it automatically adds the
X-Forwarded-For header to the incoming request. It does this
automatically, it is part of what reverse proxies do.

Your application server can see this header and update itself to use
the IP address in this header as the 'real' IP address of the

mod_remoteip is an apache module in apache 2.3 that does this. For you
to use this, your application server must be apache.

It seems like your application server is not apache, it is some sort
of java application server. mod_remoteip would not be a solution for
that. Simply stfw for 'x-forwarded-for <name of your app server>' for
potential solutions:


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message