Connector attribute proxyPort should fix the inclusion of the port number in tomcat generated urls.

--David

Julian Dunn wrote:

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.  <[EMAIL PROTECTED]>
-- 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to