On 13/06/2012 05:12, Oguz Kologlu wrote:
You can do this but not in Tomcat itself. You'll need to use something like
Apache web server
to handle different sub domain and direct them to Tomcat.
That's an imprecise potentially misleading answer.
Please see the other answer in this thread.
p
Albert Kam wrote:
Dear Tomcat Users !
Let's say that i have this simple webapp using Tomcat 7, and let's say
the context name is albertzoo
http://albertzoo.com
albertzoo is not the context here, it's a Host.
If you want that application to respond to the URL http://albertzoo.com/; (thus the
I have checked the tuckey urlRewriter, and it seems cool, but doesnt
seem to fit my needs.
Anyway, you warnings make a lot of sense to me, so thanks there !
On Wed, Jun 13, 2012 at 2:29 AM, André Warnier a...@ice-sa.com wrote:
Albert Kam wrote:
Dear Tomcat Users !
Let's say that i have this
You can do this but not in Tomcat itself. You'll need to use something like
Apache web server
to handle different sub domain and direct them to Tomcat.
If it's only one site running you could use the defaultHost attribute to direct
the request when it doesn't find a matching Host element
Oz