tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mufaddal Khumri <mufad...@wmotion.com>
Subject Re: HTTPS --->> HTTP ?
Date Thu, 22 May 2003 02:41:07 GMT
Yes, you can have two ports defined in server.xml . One for HTTP and 
one for HTTPS. But, when you switch from HTTP to HTTPS you loose the 
session attributes. If you find a work around this let me know.

On Thursday, May 22, 2003, at 08:39  AM, Lynn Tran wrote:

> oops I meant port 8090 for non-SSL and port 8443 for SSL.
>
> Thanks
>
> Lynn
> At 08:07 PM 5/21/2003 -0700, you wrote:
>
>> Hi,
>>
>> I've a question if I want to have the capability to switch from https 
>> to http or vice-versa does it mean Tomcat allows me to unable 2 
>> connectors in 2 different ports in the server.xml file?  For instance 
>> 8090 for the non SSL and 8443 for non-SSL?
>>
>> Thanks
>>
>> Lynn
>>
>> At 11:11 AM 5/1/2003 +0530, Mufaddal Khumri wrote:
>>> Hi Everybody,
>>>
>>> I have a servlet that allows a user to login using a username and 
>>> password. For this I use SSL set up with Tomcat.
>>>
>>> For example:
>>> https://www.myserver.com/myapp/Login.jsp
>>>
>>> Now after the user has been authenticated I use
>>>
>>> response.sendRedirect(response.encodeRedirectURL("/myapp/Home.jsp"));
>>>
>>> When I do this ... the browser goes to:
>>> https://www.myserver.com/myapp/Home.jsp
>>>
>>> Now after the initial login, I do not want to use HTTPS .. just HTTP.
>>> I would like to know suggestions / best ways to do this ??
>>>
>>> I could specify the complete URL in the redirect, but that would tie 
>>> me with the name of the server.
>>>
>>> Any suggestions ?
>>>
>>> Thanks.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
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