>>I used Tomcat 5.5 with multiple <Host/> elements in the server.xml Now I
read that this has to be done differently in Tomcat 

No, it is not.
You should have one <Host> element for every virtual host you need.

http://tomcat.apache.org/tomcat-6.0-doc/config/host.html

-----Original Message-----
From: Jeroen Kransen [mailto:jer...@kransen.nl] 
Sent: Monday, March 16, 2009 5:29 PM
To: users@tomcat.apache.org
Subject: Tomcat 6 multiple hosts howto

Hello all,

I am sure this is a FAQ, but I can't find any info about it. I used Tomcat
5.5 with multiple <Host/> elements in the server.xml Now I read that this
has to be done differently in Tomcat 6, but I am not sure how. I added a
conf/Catalina/examplecom/context.xml, but I don't know what to put there,
and how to link it to the host example.com..
Also, is there a way to specify individual classpaths that have a Host as
scope? That way I can deploy the same webapp for different hosts using
different settings in the .properies files.

Thanks in advance! Jeroen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to