Forum OpenACS Q&A: Re: nsopenssl, OACS 5.0.0b4 login problem

Collapse
Posted by Raul Rodriguez on
It seems that the solution was here. Specifically:
 Tom Jackson on Jun 09 2003 00:17:56 

    In addition, make sure you have the following in your nssock section: 

    # If you want your web domain name to be www.example.com
    # set up the following in you nsd.tcl file:
    # ns_section "ns/server/${servername}/module/nssock"
    # ns_param        port     8000 ;# private port
    # ns_param        hostname www.example.com ;# external hostname
    # ns_param        address  192.168.1.2 ;# Actual private ip
    # ns_param        location http://www.example.com 
    # The location parameter is essential for automatic redirects and for proper
    # use of [ns_conn location], otherwise redirect would go to 
    # http://www.example.com:8000
    # 

By setting the location ns_param the problem seems to be solved, however, once I log in via ssl and get redirected to the main page, the main page still shows that I am not logged in. If I change to https the main page shows me as being logged in.