tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Lalumiere (LMC)" <>
Subject relative redirect problem using port mapping vip
Date Thu, 07 Dec 2000 20:10:45 GMT
Hi all

we use tomcat as a web server on multiple processors having different IP
addresses behind a VIP portal.  The VIP maps Ip adreeses and ports also
(therefore a request send to port 80 can reach a processor with port 8080,

When doing a relative redirect (response.sendRedirect method), the Absolute
URL build from the relative URI does not seem to be produced properly.  It
takes the host name from the request header but takes the port from the web
server (from HttpRequestAdapter.getServerPort).  therefore creating a
redirect url command with the right IP address but the wrong port (in our
case 8080 i.o. 80).  That seems to be a bug in the tomcat code as it should
take the port from the request header.  But can someone tell me if I might
be doing something wrong before I change the code...?)

Benoit Lalumiere
Software Architect
Jambala Innovation Cell
Ericsson Canada (LMC)

View raw message