[Klone-users] Server model and SSL

diakat 2000 diakat2000 at googlemail.com
Fri Jan 8 03:43:40 EST 2010


Hi,

I want to switch from prefork to fork server model.
So I changed the kloned.conf as you can see it below.

app_http pages are working as before.
But it seems, that sessions are not working at app_https pages.
I set up some session variables at page A and than I redirect to page B.
At page B all sessions variables are lost.

I'm confused about this, because there are no problems in prefork
server model with SSL.
And there are no problems without SSL in fork server model.

Best regards,
Diana



------------------------------------------------------------------------------
server_list    app_https app_http

(...)

app_https
{
    type              https
    model            fork
    addr.type       IPv4
    addr.port        443
    dir_root          /www

    ca_file         /mnt/flash/bin/cacert.pem
    cert_file       /mnt/flash/bin/ws-creds.pem
    verify_client   no


    session
    {
                 type                              memory
                 max_age                       28800
                 memory.limit                 10240   # use max 10KB of RAM
                 memory.max_count       10      # max 10 sessions
     }
}

app_http
{
    type              http
    model           fork
    addr.type      IPv4
    addr.port       80
    dir_root         /open


    session
    {
                 type                              memory
                 max_age                       28800
                 memory.limit                 10240   # use max 10KB of RAM
                 memory.max_count       10      # max 10 sessions
     }
}



More information about the Klone-users mailing list