tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albert Kam <moonblade.w...@gmail.com>
Subject Map domain names to different paths of a single webapp ?
Date Tue, 12 Jun 2012 15:00:30 GMT
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

And then, i would like a niche site for monkeys with it's own domain :
http://albertzoomonkeys.com
which is actually the same as :
http://albertzoo.com/monkeys

But if the user is accessing through albertzoomonkeys.com, i dont want
them to see the albertzoo.com/monkeys in their browser

Is it possible to do with a single webapp context, or do i have to
have different contexts(virtual hosts) for these different domains ?

Regards,
Albert

-- 
Do not pursue the past. Do not lose yourself in the future.
The past no longer is. The future has not yet come.
Looking deeply at life as it is in the very here and now,
the practitioner dwells in stability and freedom.
(Thich Nhat Hanh)

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


Mime
View raw message