[Klone-users] Both HTTP and HTTPS

thomas fossati tho at koanlogic.com
Wed Dec 2 04:25:37 EST 2009


Hi Diana,

On Dec 2, 2009, at 9:53 AM, diakat 2000 wrote:
> Could you tell me, if problems could appear when running klone as
> https and http server at the same time, please?

if properly configured (one activation record for each of the two  
backends, distinct addr.port's), it shouldn't.

> How does it works exacly? Is it possible to declare for each page, if
> the page can be accessed via http or https?

I think the easiest way is to separate the dir_root's, e.g. having a  
webapp/www-secure/ for HTTP/S pages and the usual webapp/www/ for HTTP:

server_list app_http app_https

app_http
{
     type http
     ...
     addr.port 80
     ...
     dir_root /www
     ...
}

app_https
{
     type https
     ...
     addr.port 443
     ...
     dir_root /www-secure
     ...
}

ciao, t.




More information about the klone-users mailing list