Closed nidico closed 10 years ago
I found a bug in this:
result: 404 Error
I guess this is because the base_url
s of the other instances are absolute paths, no full URLs.
True. Fixed in ace83f683a820dc2c2e57c7b5143a379f7b71931.
There is another problem: The session cookie is only set for the current domain. When switching to another domain, the users have to login again (which is strange because they stay on the same platform).
An option could be to create cookies for all domains using some JavaScript hack.
This is a valid issue - I added a note in 51752cc. However 2 out of 3 reasons to implement this feature still stand:
The third reason "Single-Sign-On" isn't done yet.
Due to the partial implementation of the feature, this might only be useful in settings where losing user sessions on instance switch is acceptable.
This allows to configure separate domains per instance in the Adhocracy configuration.
Static assets (CSS, JS) are still loaded from the main domain.
Be aware that you need to configure DNS, webserver, SSL outside of Adhocracy for each domain.