httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Haroon Rafique <>
Subject RE: [users@httpd] Passing remote client IP address to backend server and session stickness
Date Tue, 01 Dec 2009 15:57:07 GMT
On Today at 10:29am, RJ=>Ruiyuan Jiang <> wrote:

RJ> Hi, Haroon
RJ> Thanks for the reply. Do you mean they are automatically activated for 
RJ> reverse proxy?


RJ> Unfortunately it does not work for me if they are activated.

What does not work? The X-Forwarded-For header *is* there and that's where 
the automatic part ends. Is your application looking for it? Looking for 
it in what way?

RJ> My backend server will be Oracle 9iAS or Oracle 10gAS.

Seems like you are on the java platform. How about deploying a test 
servlet? or a jsp as follows:

<%= request.getHeader("X-Forwarded-For") %>

On an aside, mod_remoteip does all of the address figuring out in apache 
land. AFAIK, it is only bundled with apache 2.3. I see that you are asking 
on another thread about how to include mod_remoteip in apache 2.2 land.

Again, I can only tell you about my experiences. I use apache 2.2.x with 
mod_proxy in a reverse-proxy configruation. For my java app, I use 
xebia-france XForwardedFilter (which is a java port of mod_remoteip).

RJ> Ryan

Haroon Rafique

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