Re: Re-direct webpage from HTTP to HTTPS

2010-04-15 Thread Mark Shifman
You need to add a security constraint to web.xml with transport-guarantee 
CONFIDENTIAL

http://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Advanced+Tomcat++%28and+Apache%29+Configuration
google is your friend.

Stephen . wrote:
 
 Hi all,
 
 I have recently bought and installed an SSL Certificate on my Apache Tomcat 
 Server.
 
 I modified the server.xml file, so that my webpage now uses only HTTPS  
 (meaning, a secure site)
 
 However, I would like to modify it such that : if someone types in only HTTP, 
  he will nevertheless be directed to the proper place : HTTPS://mysite.com
 
 I know that this is a simple thing to do;  I'm just not sure of the exact 
 syntax
 
 Any help, please?
 
 Thanks
 
 
 
 _
 Hotmail: Trusted email with powerful SPAM protection.
 https://signup.live.com/signup.aspx?id=60969

-- 
 Mark Shifman MD. Ph.D.
 Yale Center for Medical Informatics
 Phone (203)737-5219
 mark.shif...@yale.edu

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Re-direct webpage from HTTP to HTTPS

2010-04-15 Thread Pid
On 15/04/2010 14:38, Mark Shifman wrote:
 You need to add a security constraint to web.xml with transport-guarantee 
 CONFIDENTIAL
 
 http://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Advanced+Tomcat++%28and+Apache%29+Configuration
 google is your friend.
 
 Stephen . wrote:

 Hi all,

 I have recently bought and installed an SSL Certificate on my Apache Tomcat 
 Server.

 I modified the server.xml file, so that my webpage now uses only HTTPS  
 (meaning, a secure site)

How have you modified it?

You will still need a Connector for both HTTP and HTTPS.


p

 However, I would like to modify it such that : if someone types in only 
 HTTP,  he will nevertheless be directed to the proper place : 
 HTTPS://mysite.com

 I know that this is a simple thing to do;  I'm just not sure of the exact 
 syntax

 Any help, please?

 Thanks



 _
 Hotmail: Trusted email with powerful SPAM protection.
 https://signup.live.com/signup.aspx?id=60969
 




signature.asc
Description: OpenPGP digital signature


Re: Re-direct webpage from HTTP to HTTPS

2010-04-15 Thread Leon Kolchinsky
Hi,

You can read here - http://myunster.com/blog/10.html
http://myunster.com/blog/10.htmlI wrote it a while ago and configuration
is pretty simple.


Best Regards,
Leon Kolchinsky

On Thu, Apr 15, 2010 at 22:33, Stephen . marr...@hotmail.com wrote:



 Hi all,

 I have recently bought and installed an SSL Certificate on my Apache Tomcat
 Server.

 I modified the server.xml file, so that my webpage now uses only HTTPS
  (meaning, a secure site)

 However, I would like to modify it such that : if someone types in only
 HTTP,  he will nevertheless be directed to the proper place :
 HTTPS://mysite.com

 I know that this is a simple thing to do;  I'm just not sure of the exact
 syntax

 Any help, please?

 Thanks



 _
 Hotmail: Trusted email with powerful SPAM protection.
 https://signup.live.com/signup.aspx?id=60969