[Building Sakai] separate content hosting domain

Charles Hedrick hedrick at rutgers.edu
Thu Jun 19 14:08:31 PDT 2014


On Jun 19, 2014, at 12:24 PM, JOSE MARIANO LUJáN GONZáLEZ <jmariano at um.es> wrote:

> Hi Charles,
> 
> Comment from Juanjo Meroño:
> "I think it's pretty well explained here:https://jira.sakaiproject.org/browse/KNL-640
> Session cookie does not work between domains, but you can bypass this problem using SSO for authentication.”

It turns out that it does work. I haven’t tried it with out load balancer yet, but with my test system, say foo.rutgers.edu, I got it to work doing two things in addition to the documented configuration:

In sakai.properties 

cookieDomain=.foo.rutgers.edu

In tomcat/conf/context.xml

<Context sessionCookieDomain=“.foo.rutgers.edu">

These cause the cookie to be accepted by subdomains.

Now I have to figure out how to get the load balancer to do the same thing or the cookie it sets.

> Best,
> Mariano
> 
> El 19/06/2014 17:30, Charles Hedrick escribió:
>> We’re interested in using a separate content hosting domain. Can someone explain how that is supposed to work? Our hostname is sakai.rutgers.edu. If I redirect to content.sakai.rutgers.edu, will the session cookie still work? 
>> 
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> 
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> 
> -- 
> ******************************************
> José Mariano Luján González - Aula Virtual
> Area de Tecnologías de la Información
> y las Comunicaciones Aplicadas (ATICA)
> UNIVERSIDAD DE MURCIA - http://www.um.es

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140619/15a32236/attachment.html 


More information about the sakai-dev mailing list