A common solution I use is to have my loadbalancer (I like PerlBal) handles HTTPS divert HTTP and HTTPS to different ports, for example 80 for HTTP and 81 for HTTPS. You can run your Restlet component with two servers to answer both of these, and then test for which port requests are coming through to make decisions based on HTTP vs. HTTPS.
-Tal On 04/22/2010 01:09 PM, gonzajg wrote: > Hi, > i'd like to know if there's a way to have on the same application running > HTTPS resources and HTTP. > My idea is to have a login resource via HTTPS where a session is returned if > user/password are ok and then check the session in other HTTP resources (so > the overload of HTTPS is saved) > > Thanks! > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2592791

