tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Dunn" <Julian_D...@cbc.ca>
Subject need help with Tomcat-generated redirects
Date Wed, 02 Jan 2008 21:23:14 GMT
Hi,

I have some applications running under a Tomcat installation set up in this way:

[load balancer on port 80] ---> [Apache server on port 5001] --> [Tomcat server on port
7001]

One of the Tomcat applications sends a redirect to Apache because there is a <welcome-file>
directive. However, the redirect that is sent says:

www.site.com:5001/foo/bar.jsp

instead of

www.site.com/foo/bar.jsp

On the Apache side, I already have ServerName set to www.site.com:80 to solve this problem
for mod_rewrite. What is the corresponding directive for Tomcat?

- Julian


--
-- Julian C. Dunn, P.Eng.  <Julian_Dunn@cbc.ca>
-- Assistant Team Lead, Media Production Support, CBC Technology
-- Digital Programming and Business Development
-- Office: 2C310-N  *  Tel.: (416) 205-3311 x6988 * DID: 1-151-6988



---------------------------------------------------------------------
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