Quote from: sottwell at Dec 19, 2015, 08:26 AMThat is exactly what contexts were originally intended for. Why are you hesitant to use them?
I have already use it for multilingual and multi website in the sub-domain and domain both way. This is really nice ! I know there is a new way with the excellent Migx for multilingual but i haven't try it yet.
But i don't like to have only one folder in the server like var/website-all/www/. This mean every files of all the websites are in the same folder and i don't think is really good for the security.
I need to do something like
/home/modx/current_version
and
/home/modx/futur_version
like this i can make update modx easily for all website.
For the cache i need to do something like
/var/website-1/www/cache
and
/var/website-2/www/cache
like this all cache files for website-1 will go in the right folder for this website.
I know that if i change the Modx configuration key this will do a new folder in the core/cache/configuration_key and a config file like configuration_key.inc.php.
So this is close to be similar that i want. But i can't put all the cache for all website in home/modx/current_version/cache/configuration_key/.
For me all the files are for website-1 have to be only in the var/website-1/www/ to really separate files are not shared.
I still trying to do it, i think it could be very usefull.