No, Martin. I believe this is not exactly true.
- There is no https involved in this discussion. We're talking http on
port 443.
- This case involves having a directory name at the end of the path, and
excluding the trailing slash which results in a 302 from the server.
- This problem appears to happen in IE6 only in response to a 302 from
the server --- presumably because IE6 gets confused when we use port 443
with http.
Putting it all together, per Charles Caldarale's and Len Popp's messages:
If I omit the trailing slash after a directory name, the server sends a
302 request back to the browser regardless of what browser I use.
However, when IE6 receives a 302 request to resubmit to
http://www.sitename.com:443/dirname/ in place of
http://www.whateveryoursiteis.com:443/dirname, it resubmits to
http://www.whateveryoursiteis.com/dirname/ without the port number.
-Ramez
Martin Gainty wrote:
If I interpret this correctly
you're saying if I go to https://www.whateveryoursiteis.com OR
http://www.whateveryoursiteis.com:443
IE 6 browser intentionally (with no 301/302 HTTP events being sent from web
server) redirects to port 80?
M-
----- Original Message -----
From: "Len Popp" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Saturday, October 21, 2006 12:21 PM
Subject: Re: Eliminating the need for a trailing slash in accessing
sub-directoryresourceson a Tomcat HTTP server
Note that this problem only happens with port 443. With any other
port, IE6 correctly redirects on the same port. Port 443 is usually
used for HTTPS - for some reason IE6 thinks it should redirect to port
80 in this special case. So, if you're able to use a port other than
443 the missing-/ URLs will be handled correctly.
--
Len Popp
[EMAIL PROTECTED]
http://www.lmp.dyndns.org/
On 10/21/06, Ramez Ghazzaoui <[EMAIL PROTECTED]> wrote:
So the problem's origin is my unusual port assignment.
Thank you Chuck. Case closed :-)
-Ramez
Caldarale, Charles R wrote:
From: Ramez Ghazzaoui [mailto:[EMAIL PROTECTED]
Subject: Re: Eliminating the need for a trailing slash in
accessing sub-directoryresourceson a Tomcat HTTP server
I was definitely not experiencing a 302 or automatic
refresh/resubmit.
Actually, you are, regardless of browser. Crank up Ethereal and watch
the traffic. The 302 comes back, but without a port number, so IE6
switches to port 80 to reissue the GET for /mp3/. Firefox and IE7
appear to have enough sense to stick with the port the connection is on,
but IE6 doesn't.
- Chuck
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]