Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 55795 invoked from network); 30 Aug 2007 13:09:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Aug 2007 13:09:20 -0000 Received: (qmail 67471 invoked by uid 500); 30 Aug 2007 13:09:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 67443 invoked by uid 500); 30 Aug 2007 13:09:04 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 67432 invoked by uid 99); 30 Aug 2007 13:09:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 06:09:04 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [195.227.30.246] (HELO datura.kippdata.de) (195.227.30.246) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2007 13:09:59 +0000 Received: from [195.227.30.148] (larix [195.227.30.148]) by datura.kippdata.de (8.13.5/8.13.5) with ESMTP id l7UD8cS4014337 for ; Thu, 30 Aug 2007 15:08:38 +0200 (CEST) Message-ID: <46D6C156.8070100@kippdata.de> Date: Thu, 30 Aug 2007 15:08:38 +0200 From: Rainer Jung User-Agent: Thunderbird 1.5.0.8 (X11/20061110) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat jsessionid and mod_rewrite References: <46D68776.306@albourne.com> <46D68D85.4060509@kippdata.de> <46D69A0B.4060801@albourne.com> In-Reply-To: <46D69A0B.4060801@albourne.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Peter Stavrinides wrote: > Although I am not responsible for the front end, I seem to recall we use > mod_proxy for the reverse proxy. We have front end Apache web servers > that listen for requests externally, internally I can access Tomcat > directly. mod_rewrite is used to make our applications on Tomcat and > Apache appear as one. > > I use a Java Servlet on Tomcat 5.5.20 with JDK 6.02 ... What I am > curious to know is if the cookie gets set correctly with this > configuration? could the proxy be interfering with normal Tomcat operation? I would not expect Tomcat to behave differently in itself. But yes, the reverse proxy could e.g. filter the cookies or mjore likely, the cookies need some sort of rewriting in order to fit to the URL the client is using to connect to the reverse proxy. You need to involve your frontend people, it's very likely the solution will be found in their configuration. If they use AJP13 to connect to Tomcat, most (all) of the translation should be done automatically. If they use HTTP to connect to your Tomcat, some translations have to be done inside Apache httpd. This will be easier with Apache 2.2, than with 2.0. There are separate discussion lists for Apache httpd. One thing that might help, depending on what the frontend people do exactly: there are proxyName, proxyPort and scheme attributes for the Connector elements in server.xml: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html Regards, Rainer --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org