Hello Hassan,

I quite agree, it should be easy. As it turns out, whilst I saw the link mentioned by Rashmi and tried it a while ago, my configuration must have been compromised elsewhere, as it did not work.

Now, retrying the same thing, it comes up fine and, as you said, with hindsight, it was not that difficult.

So thanks to the both of you.

Matthew

Hassan Schroeder wrote:

On 3/21/07, Matthew <[EMAIL PROTECTED]> wrote:

Here's the set up I imagine (a fixed size font may be needed to view the
directory structures below)...

In server.xml...

<Host name="domain1.com" appBase="?????">
</Host>

<Host name="domain2.com" appBase="?????">
</Host>


This is just not that difficult. Specify an appBase for each host, e.g.

<Host name="domain1.com" appBase="foo"/>
<Host name="domain1.com" appBase="bar"/>

Now in $CATALINA_HOME/webapps/foo put your domain1.war
renamed to ROOT.war and in $CATALINA_HOME/webapps/bar
put domain2.war, likewise renamed to ROOT.war

Restart. Done.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to