Hi Xavier,

 

This is definitely possible, just declare two server connectors, one with the 
Protocol.HTTP value and the other with Protocol.HTTPS and the required 
configuration parameters. Of course, they’ll listen on separate ports (80 and 
443 by default). Both connectors will route calls to the default virtual host, 
but you can define custom virtual hosts to restrict what requests are matched 
and what Restlets/resources to attach.

 

Best regards,
Jerome
--
Restlet ~ Founder and Technical Lead ~  <http://www.restlet.org/> 
http://www.restlet.o​rg
Noelios Technologies ~  <http://www.noelios.com/> http://www.noelios.com

 

 

 

 

 

 

De : [email protected] [mailto:[email protected]] De la part de 
Xavier Méhaut
Envoyé : lundi 30 août 2010 09:30
À : [email protected]
Objet : Restlets in both https and http at the same time

 

Hello,
I would like to know if it is possible to have at the same time both HTTPS and 
HTTP access to the same restlets?
The use case is the following :
my restlet server (not into a servlet container) must be access locally and 
remotely ; I would like locally to access it in HTTP, and remotely in HTTPS...
regards
Xavier

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2653116

Reply via email to