tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: How to map username.domain.com to www.domain.com/username
Date Mon, 25 Jan 2010 20:17:34 GMT
> From: Bytecode [mailto:bytecode@me.com]
> Subject: How to map username.domain.com to www.domain.com/username
> 
> I want each user to be able to access his/her homepage at 
> username.domain.com instead.

Assuming you have DNS set up properly, use this:
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html

Alternatively, use a filter to rewrite the request URLs to the internal format:
http://tuckey.org/urlrewrite/

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


Mime
View raw message