tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: virtual host for subdomains
Date Fri, 09 Nov 2007 08:28:09 GMT
Kwok Ng wrote:
> Hi folks,
> 
> I notice some BLOG websites assign the subdomains to the registered users, like
> 
> user1.mydomain.com
> user2.mydomain.com
> 
> If I use the tomcat to do this, do I use the virtual host
> configuration?  If so, do I use the same docBase to point to one war
> file with different host names?

or, put a single ROOT.war in the host you assign as the defaultHost and
have the war parse the domain name to determine the user/blogname.

p


> Thanks!
> 
> Billy
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@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