tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Shifman <mark.shif...@yale.edu>
Subject Re: canonical hostnames for tomcat server
Date Fri, 12 Jun 2009 12:14:25 GMT
host name aliases may help
http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Host%20Name%20Aliases

d tbsky wrote:
> Hi:
>     i have a tomcat server, which can be access by many ways, like
> 
>    http://portal.example.com
>    http://portal
>    http://192.168.1.1
> 
>    i want to user to use only "http://portal.example.com". other ways
> will be redirect to the canonical hostname.
> 
>    i found i can do this with  "apache + mod_rewrite + tomcat"  or
> "tomcat + urlrewritefilter".
> 
>    i wonder if there are simpler solutions. can tomcat do this by
> itself via configuration?
> 
> thanks for help!!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

-- 
 Mark Shifman MD. Ph.D.
 Yale Center for Medical Informatics
 Phone (203)737-5219
 mark.shifman@yale.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message