You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Edouard Dalla-Costa <ed...@gmail.com> on 2006/02/08 10:26:50 UTC
Re: Is this achievable with TC? - A domain-subdomain configuration question
Hello,
I was wondering if you were able to solve your problem because I also need
to handle severals virtual hosts with a single application using tomcat
without apache. And I can't find any solution.
Hope you can help me, thanks in advance
Edouard
On 1/2/06, Wei Wei <we...@lycos.com> wrote:
>
> I am working on starting a new project: an application for various
> locations (think of a chain store). The business logic is the same for all
> locations while the data can vary for one location to another. I would like
> to have the following domain structure:
>
> www.mydomain.com - a user can select one location on the home page
> location1.mydomain.com - all user interaction data only applied to this
> location
> location2.mydomain.com - ...
>
> I have done some reseach on this topic at the TC site and haven't found
> any direct inforamtion. The virtual host configuration is only applied for
> multiple applications, but not for multiple subdomain with a single
> application.
>
> Thanks for any inputs in advance.
>
> w.
>
> --
> _______________________________________________
>
> Search for businesses by name, location, or phone number. -Lycos Yellow
> Pages
>
>
> http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Is this achievable with TC? - A domain-subdomain configuration question
Posted by Parsons Technical Services <pa...@earthlink.net>.
Yes, it is achievable. But may not be worth it. Only you can decide that.
Take a look at the Host element. There is a feature called alias that allow
you to point all subdomains to the same application. From there it is up to
you to parse out the information to determine the appropriate response.
----- Original Message -----
From: "Edouard Dalla-Costa" <ed...@gmail.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Wednesday, February 08, 2006 4:26 AM
Subject: Re: Is this achievable with TC? - A domain-subdomain configuration
question
Hello,
I was wondering if you were able to solve your problem because I also need
to handle severals virtual hosts with a single application using tomcat
without apache. And I can't find any solution.
Hope you can help me, thanks in advance
Edouard
On 1/2/06, Wei Wei <we...@lycos.com> wrote:
>
> I am working on starting a new project: an application for various
> locations (think of a chain store). The business logic is the same for all
> locations while the data can vary for one location to another. I would
> like
> to have the following domain structure:
>
> www.mydomain.com - a user can select one location on the home page
> location1.mydomain.com - all user interaction data only applied to this
> location
> location2.mydomain.com - ...
>
> I have done some reseach on this topic at the TC site and haven't found
> any direct inforamtion. The virtual host configuration is only applied for
> multiple applications, but not for multiple subdomain with a single
> application.
>
> Thanks for any inputs in advance.
>
> w.
>
> --
> _______________________________________________
>
> Search for businesses by name, location, or phone number. -Lycos Yellow
> Pages
>
>
> http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org