Just as a thought, but I've seen on occasion where Firefox in particular will offer up cached content when something goes haywire with the request. As a test, when you drop the s from https (leaving the port number on the end), try to reload w/ the shift key down to force your browser to drop cached content in favor of fresh material. I'm willing to bet it'll just give you garbage because the server will offer up a SSL handshake and the browser will accept it as an html response.

Now if your URLs didn't have the port numbers in them (tomcat using port 80 for http and 443 for https) and you dropped the s from https, the browser would connect on port 80 instead of 443 and the redirection would happen again the way you are expecting.

--David

raveendra wrote:
Yes i am sure, initially when i type my default url
http://localhost:8080/myapp/start.action
it is getting redirected to https://localhost:8443/myapp/start.action.

But after accepting certificate and page is loaded if i remove "s" from
redirected url it is still
loading the page.It shouldn't even connect to the server as you said.I want
it to happen if any one remove "s" and try to reload the page.

Note : http://localhost:8443/myapp/start.action in this url the port no is
secure port no.Here with http as protocol we are trying to connect to a port
which is https.

Could you please help me?

Thanks for your reply,

On Thu, Aug 21, 2008 at 10:34 PM, Christopher Schultz <
[EMAIL PROTECTED]> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Raveendra,

raveendra wrote:
But after accepting the certificate and loading the page.If i change my
url
to http://localhost:8443/myapp/start.action just by removing 's' it is
loading the pages
with some GUI errors and after traversing couple of pages it is logging
out.
Are you sure? Trying to get your web browser to connect using HTTP to a
server expecting HTTPS should not even be able to make a connection,
much less give you broken pages.

Can you double-check all URLs and be very careful about copying and
pasting them?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkitoCYACgkQ9CaO5/Lv0PD9DwCffAfZwA4DgY3E5xmr11vFBsZK
y1sAoMBW9x5JRnzrVQUALWow40fod3eQ
=nlbZ
-----END PGP SIGNATURE-----



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to