Hi, tanks very much for this much-awaited answer!
Hm. That's bad news. And it (meaning not your answer, but the fact itself! :) also sounds a bit ridiculous for me. It is so simple with the Apache web server to do this. On one of our servers eg. we host dozens of domains. You simply specify a document base for a given URL and that's all. It is such a basic requirement, I think. Now we have a workaround for this. We have a frameset index html on another server running apache. In the frame there's the direct reference to the JBoss app running on the other machine. But this is ugly (users see the server name in links that differ from the original url) and webcrawlers don't seem to like it either. Sorry for being a bit hysteric, but it seems unacceptable for me that such an intelligent application server platform as JBoss is lack this basic functionality (or to be more precise, it is tomcat which lacks it, but from my point of view this is all the same). First I'd been hesitating whether or not to post the question at all. I thought this was a lamer's question :) What about Jetty? It seems to me Jetty is able to do this. Do you recommend using Jetty in place of tomcat? thanks again -- Jarecsni János PGP Key Fingerprint: 846A C0CB 7F7D 28FD C82B 0F28 73BA 88DE 2BE7 31AD Patents on 'Standards'???: http://www.userfunded.org/w3cloud.html |-----Original Message----- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Guy Rouillier |Sent: Friday, November 30, 2001 7:03 AM |To: JBoss-List |Subject: Re: [JBoss-user] virtual hosts again | | |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 | _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user