tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Field-Elliot <bryan_li...@netmeme.org>
Subject Re: How to stop redirectPort from appending ":443"
Date Fri, 21 Feb 2003 21:21:04 GMT
I've just confirmed that the below problem is "hidden" by Internet
Explorer (e.g. the :443 is stripped off), so IE users don't see this. I
test on Mozilla, and after a Tomcat Connector "redirectPort" occurs, my
URL window looks like this:

https://my.server.com:443/my-page.jsp

It should look like this (assuming redirectPort is set to 443, the
default):

https://my.server.com/my-page.jsp

Can anyone confirm that what I'm seeing is a Tomcat "bad assumption" (I
won't call it a bug just yet ;) )?

This is more than a cosmetic problem; if "my-page.jsp" links to other
JSP pages (e.g. using JSTL <c:out>), then the URL's generated will NOT
have the ":443" appended, and my session context between the two pages
is getting lost...

Thanks,

Bryan


On Fri, 2003-02-21 at 13:50, Bryan Field-Elliot wrote:

    When a Connector's "redirectPort" kicks in to redirect the user to
    an
    SSL protected version of the same URI, it is appending ":443" after
    the
    DNS name of the server. This seems to be throwing off session
    tracking
    later, since subsequent hyperlinks (to other JSP pages) don't have
    the
    ":443" in the URL. In any case, it's unnecessary and unsightly. 
    
    How can I get redirectPort to not append ":443"?
    
    I tried leaving out the redirectPort directive, falling back on the
    default (which obviously must be 443), but it's still appending this
    string.
    
    Thanks,
    
    Bryan
    
    

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message