This is a well known problem with MS Explorer where it doesn't send the
correct Host header when it gets two redirects in a row.  The easiest work
around is to use the default port (i.e. 443) for SSL.

"dirk ooms" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello,

I have an application on standalone Tomcat that works fine with Konqueror
and
Mozilla, but not with Microsoft Explorer: it doesn't 'automatically switch'
to https.

E.g. the page 'secretary.html' is security constrained (see web.xml fragment
below). When i call the page in Konqueror or Mozilla as
http://my.domain.net:8080/secretary.html, the page is shown after the login
and the url in the location bar is https://my.domain.net:8443/secretary.html
(everything is fine).

But when i do the same in Explorer, the location bar shows
http://my.domain.net:8080/secretary.html and it says 'page cannot be
displayed'. At the other hand, when i call the protected page directly as
https://my.domain.net:8443/secretary.html it works fine.

any explanation for this behavior?

cheers,
dirk

  <security-constraint>
    <web-resource-collection>
      <web-resource-name>Secretary</web-resource-name>
      <url-pattern>/secretary.html</url-pattern>
    </web-resource-collection>
    <auth-constraint>
      <role-name>secretary</role-name>
    </auth-constraint>
    <user-data-constraint>
      <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
  </security-constraint>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to