In the httpd.conf under the virtual host listening to port 80 have the line
RedirectPermanent / https://my.domain.com 
if you want it to do for specific content you may have to play with the above 
statement or redirect rules. The above would be for all http requests.
-MN

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tue, February 11, 2003 4:12 PM
To: [EMAIL PROTECTED]
Subject: automatically redirect http to https in tomcat


Is it possible to automatically redirect any http request to https in an
Apache + Tomcat environment? For example, If I enter
http://my.domain.com/mycontext <http://my.domain.com/mycontext> , I would be
automatically redirected to https://my.domain.com/mycontext?

 

Regards,

 

 

 

PQ

 

"This Guy Thinks He Knows Everything"

"This Guy Thinks He Knows What He Is Doing"

 


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

Reply via email to