tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parsons Technical Services" <parsonstechni...@earthlink.net>
Subject Re: Is this achievable with TC? - A domain-subdomain configuration question
Date Wed, 08 Feb 2006 12:29:57 GMT
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" <edallacosta@gmail.com>
To: "Tomcat Users List" <users@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 <wei725@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


Mime
View raw message