tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarecsni János <jarecsni.ja...@mhc.hu>
Subject RE: mod_webapp contexts and virtual hosts
Date Tue, 19 Feb 2002 11:04:22 GMT
Hey,

I've run into something similar, with mod_jk.
More below
--
Jarecsni, János
MORGAN HILL CONSULTING, Internet Applications Unit
mailto:Jarecsni.Janos@morganhillconsulting.hu
http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392

|-----Original Message-----
|From: Szymon Stasik [mailto:szymon.stasik@efigence.com]
|Sent: Tuesday, February 19, 2002 11:15 AM
|To: tomcat-dev
|Subject: mod_webapp contexts and virtual hosts
|
|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've successfully set up a similar environment. I use Apache
mod_rewrite+mod_proxy to do the job. I also had to modify the code in mod_jk
since it sets the session cookie (JSESSIONID) with a path which is
equivalent with the application context name. That's why sessions don't
work.

Since it's a very common set up I simply don't understand why it is
neglected by tomcat-developers. I've sent numerous mails to tomcat-dev, but
was ignored. Again: a transparent integration with Apache (with one vhost
per tomcat webapp approach) is not possible because of tomcat's incorrect
handling of the session cookie.

If you're interested in my solution I'll provide you with more details.

Cheers,
János



--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message