tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Paul <antonypau...@gmail.com>
Subject Re: Redirect from http:// to https://
Date Wed, 09 Mar 2005 04:12:07 GMT
You use Tomcat standalone or along with Apache. 
In Tomcat stand alone you can 
1, In index.jsp or whatever be the welcome page check
response.isSecure() then redirect.
2. There is an option in web.xml in security element
transport-guarantee which can be specified for certain resources. On
accessing these resources it will automatically redirect to the https.
You need to properly configure redirectport in Connector element in
server.xml for this to work.

    In Apache use mod_rewrite.


On Tue, 8 Mar 2005 23:27:54 +0000 (GMT), Sanjeev Srivastava
<sanjeev_k_srivastava@yahoo.co.uk> wrote:
> Hi All!,
>          Can anone tell me how can I redirect http://
> to https:// . I want as soon as the user type
> http://abc.com it will go to https://abc.com
> 
> (SSL Config).
> 
> Please help..
> 
> Regards,
> Sanjeev
> 
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


-- 
rgds
Antony Paul
http://www.geocities.com/antonypaul24/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message