how to automaticaly redirect to SSL?

2001-05-30 Thread Pernica, Jan

Hi

I would like to automaticaly redirect client to use HTTPS if it is required.
In the version 4.0
there is attribute redirectPort. How can I set up this feature in the
version 3.2.2?

Thank you

Jan



__
Tato komunikace je urcena vyhradne pro adresata a je duverna. 
This communication is intended solely for the addressee and is confidential.






RE: how to automaticaly redirect to SSL?

2001-05-30 Thread Rams

Jan,
Anyway, ur tomcat server is ssl enabled.
once u enable server for ssl, there u specify the ssl-port and all.
Depending on some criteria, u'll be redirecting to ssl using https.
so use some condition for https and change the url accordingly..
To comm. thru' https, u have to enable the ssl part in server.xml.
so check some condition and turn to https.

Rams

-Original Message-
From: Pernica, Jan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 2:34 PM
To: Tomcat-User (E-mail)
Subject: how to automaticaly redirect to SSL?


Hi

I would like to automaticaly redirect client to use HTTPS if it is required.
In the version 4.0
there is attribute redirectPort. How can I set up this feature in the
version 3.2.2?

Thank you

Jan



__
Tato komunikace je urcena vyhradne pro adresata a je duverna.
This communication is intended solely for the addressee and is confidential.





RE: how to automaticaly redirect to SSL?

2001-05-30 Thread Pernica, Jan

Thank you for your prompt reply.

I have set up you have described. But redirection did not work.
I found that I have to set up redirection port in the context manager:
ContextManager debug=0 workDir=work showDebugInfo=true
securePort=8443

in the server.xml

because by default it is -1 so that tomcat tells the client it requires SSL
communication.]
After setting this attribute redirection works fine.

Regards

Jan

On Wednesday, May 30, 2001 11:22 AM, Rams [SMTP:[EMAIL PROTECTED]] wrote:
 Jan,
   Anyway, ur tomcat server is ssl enabled.
 once u enable server for ssl, there u specify the ssl-port and all.
   Depending on some criteria, u'll be redirecting to ssl using https.
 so use some condition for https and change the url accordingly..
   To comm. thru' https, u have to enable the ssl part in server.xml.
 so check some condition and turn to https.
 
 Rams
 
 -Original Message-
 From: Pernica, Jan [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 30, 2001 2:34 PM
 To: Tomcat-User (E-mail)
 Subject: how to automaticaly redirect to SSL?
 
 
 Hi
 
 I would like to automaticaly redirect client to use HTTPS if it is
required.
 In the version 4.0
 there is attribute redirectPort. How can I set up this feature in the
 version 3.2.2?
 
 Thank you
 
 Jan
 
 
 
 __
 Tato komunikace je urcena vyhradne pro adresata a je duverna.
 This communication is intended solely for the addressee and is
confidential.
 


__
Tato komunikace je urcena vyhradne pro adresata a je duverna. 
This communication is intended solely for the addressee and is confidential.