What version of Tomcat? The latest I've used is 3.2.3, and that doesn't recognized name-based virtual servers - only IP based virtual servers.
----- Original Message ----- From: "Jarecsni János" <[EMAIL PROTECTED]> To: "JBoss-List" <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 6:26 AM Subject: [JBoss-user] virtual hosts again Hi, sorry for bringing up this question again but noone answered and still I think it's a fundamental question. Maybe I was a bit obscure in my previous mail or maybe my English was hard to get :) So here's what we'd like to do: 1. say we host two domains www.foo.com and www.bar.com 2. we have a server running JBoss and Tomcat 3. the DNS is properly configured so both domain names point to the server running JBoss 4. the J2EE application for foo.com is under the context path "/foo-store" and the one for bar.com is under "/bar-portal" So, my question is how to configure tomcat to serve the request "http://www.foo.com/index.html" and "http://www.bar.com/index.html" using the appropriate J2EE application? Thanks in advance János _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user