tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Lalumiere (LMC)" <lmcb...@lmc.ericsson.se>
Subject RE: relative redirect problem using port mapping vip
Date Mon, 11 Dec 2000 16:19:08 GMT
I ma still using 3.1 but I looked at the code of 3.2 and it is doing the
same thing... from the redirect in the DefaultServlet class to the
toAbsolute method in the HttpServletResponseFacade class and the
HttpRequestAdapter.getServerPort() method

Can you tell me in which class you put a fix such that I can double check
(we are not ready to move to 3.2 yet, that will take at least two months
before we migrate...)


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

> -----Original Message-----
> From:	Nacho [SMTP:nacho@siapi.es]
> Sent:	Monday, December 11, 2000 11:13 AM
> To:	'tomcat-dev@jakarta.apache.org'
> Subject:	RE: relative redirect problem using port mapping vip
> 
> Hola Benoit:
> 
> > 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
> 
> 
> What version of tomcat are you testing ? I say that because i personally
> corrected this bug ( was a bug in prior versions of tomcat 3.X before
> 3.2 Final i think). 
> 
> Saludos ,
> Ignacio J. Ortega

Mime
View raw message