canonical hostnames for tomcat server

2009-06-12 Thread d tbsky
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 +

Re: canonical hostnames for tomcat server

2009-06-12 Thread André Warnier
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

Re: canonical hostnames for tomcat server

2009-06-12 Thread Mark Shifman
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

RE: canonical hostnames for tomcat server

2009-06-12 Thread Caldarale, Charles R
From: Mark Shifman [mailto:mark.shif...@yale.edu] Subject: Re: canonical hostnames for tomcat server host name aliases may help http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Host%20Name%20Aliases I don't think aliases will do it. Look at virtual hosting in Tomcat: http

Re: canonical hostnames for tomcat server

2009-06-12 Thread André Warnier
Caldarale, Charles R wrote: From: Mark Shifman [mailto:mark.shif...@yale.edu] Subject: Re: canonical hostnames for tomcat server host name aliases may help http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Host%20Name%20Aliases I don't think aliases will do it. Look at virtual hosting

Re: canonical hostnames for tomcat server

2009-06-12 Thread d tbsky
hi : Thanks a lot for all the information. in fact my http://portal.example.com is a liferay portal server. i need a canonical hostname because liferay need it to function 100% correctly. Finally i choose to use tomcat+urlrewritefilter, and i found that liferay+tomcat bundle already