tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: canonical hostnames for tomcat server
Date Fri, 12 Jun 2009 11:47:05 GMT
d tbsky wrote:
> Hi:
>     i have a tomcat server, which can be access by many ways, like
>    http://portal
>    i want to user to use only "". 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?
As a pragmatic immediate reaction :
the two methods you mention are available, they work, they are free, 
they are documented, they can do much more than this if you need it, and 
someone else has developed them and is taking care of fixing the bugs in 
them.  What else do you want ?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message