Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 72032 invoked from network); 19 Feb 2002 10:43:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Feb 2002 10:43:36 -0000 Received: (qmail 13075 invoked by uid 97); 19 Feb 2002 10:43:42 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 13059 invoked by uid 97); 19 Feb 2002 10:43:42 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 13048 invoked from network); 19 Feb 2002 10:43:41 -0000 Message-ID: <3C7225AD.9060502@efigence.com> Date: Tue, 19 Feb 2002 11:15:09 +0100 From: Szymon Stasik Organization: Efigence Sp z o.o. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020213 X-Accept-Language: pl, en-us MIME-Version: 1.0 To: tomcat-dev Subject: mod_webapp contexts and virtual hosts Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I have configuration like - server.xml: foo2.bar2.com foo3.bar3.com and httpd:conf: ServerName foo1.bar1.com WebAppConnection conn1 warp localhost:8008 WebAppDeploy app_1 conn / ServerName foo2.bar2.com WebAppConnection conn2 warp localhost:8008 WebAppDeploy app_2 conn / ServerName foo3.bar3.com WebAppConnection conn3 warp localhost:8008 WebAppDeploy app_3 conn / I have also working applications in webapps: app_1, app_2, app_3 now the problem is, that tomcat (4.0.2, with mod_webapp - latest cvs snapshot) creates three contexts for each app and also default context that is initialised identicaly to the first of the contexts. Now request for any webapp (eg http://foo([1-3]).bar$1.com/ :) is routed to the default context instead of apriopriate app context :/ Since I need to have applications available in root, I was trying confs like (I also have to use apache...): WebAppDeploy app_1 conn /app_1 with some rewriting but then it seems to be some session/cookie issue :( I was also investigating tomcat and mod_webapp sources on the main problem but without any particular results. Using mod_webapp and many contexts seems to be wery weird. any ideas? regards, Szymon -- To unsubscribe, e-mail: For additional commands, e-mail: