Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 81892 invoked from network); 1 Dec 2009 15:57:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Dec 2009 15:57:48 -0000 Received: (qmail 16960 invoked by uid 500); 1 Dec 2009 15:57:45 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 16904 invoked by uid 500); 1 Dec 2009 15:57:44 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 16895 invoked by uid 99); 1 Dec 2009 15:57:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 15:57:44 +0000 X-ASF-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of haroon.rafique@utoronto.ca designates 128.100.132.42 as permitted sender) Received: from [128.100.132.42] (HELO bureau14.utcc.utoronto.ca) (128.100.132.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 15:57:42 +0000 Received: from haroon.sis.utoronto.ca ([128.100.105.35] EHLO haroon.sis.utoronto.ca ident: IDENT-NOT-QUERIED [port 49394]) by bureau14.utcc.utoronto.ca with ESMTP id <890059-2474>; Tue, 1 Dec 2009 10:57:19 -0500 Date: Tue, 1 Dec 2009 10:57:07 -0500 (EST) From: Haroon Rafique X-X-Sender: haroon@haroon.sis.utoronto.ca To: "users@httpd.apache.org" In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: RE: [users@httpd] Passing remote client IP address to backend server and session stickness On Today at 10:29am, RJ=>Ruiyuan Jiang wrote: RJ> Hi, Haroon RJ> RJ> Thanks for the reply. Do you mean they are automatically activated for RJ> reverse proxy? Yes. RJ> RJ> Unfortunately it does not work for me if they are activated. RJ> 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> RJ> My backend server will be Oracle 9iAS or Oracle 10gAS. RJ> 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> RJ> Ryan RJ> Cheers, -- Haroon Rafique --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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