Tomcat 3.2 has a HOST directive. Use that.
I am doing just what you are trying to do and running only 1 instance of
Tomcat.
Regards
Shahed.
-----Original Message-----
From: Angel Aray <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, December 12, 2000 11:15 PM
Subject: One virtualhost per webapp
>Hi everyone,
>
> I've got a couple of applications running on tomcat and I would
>like each of them to run on a separate apache VirtualHost so than when
>I point the browser to http://appA.domain.com/index.jsp it is mapped to
>context /appA and http://appB.domain.com/index.jsp it is mapped to context
>/appB on the same tomcat instance. It seemed simple at first but I've had
>a tough time trying to get it to work.
>
>I've read the mod_jk howto several times but nothing there seems to help.
>
>The mod_jserv info on the apache user guide has something close but it says
>that you need to run each context on its own JVM and I would prefer not to
>do that.
>
>Any ideas of how to do this?
>
>
>Regards,
> Angel Aray.
>
>
>
>
>