You can use an alias to point them all to the same host. From there you will
need to parse out the url to direct them to the proper information.
----- Original Message -----
From: "Myatluk Andrey" <Andrey.Myatluk@bercut.ru>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, February 07, 2006 8:46 AM
Subject: Tomcat and subdomain
> Hi, all!
>
> I have an application, which may have many users. At this moment each of
> them can view their info at:
>
> http://www.example.com/user/john
> http://www.example.com/user/mary
>
> I would like to use subdomain for each user.
>
> So it may look like:
>
> http://john.example.com
> http://mary.example.com
>
> Where should I look for the solution? Googling isn't helping much. Any
> examples are welcome :)
>
> Thank you!
>
> Andrey
>
> Tomcat 5.5.12
> Struts 1.2.8
> PostgreSQL 8.1.2
>
>
>
> ---------------------------------------------------------------------
> 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
|