https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20630 --- Comment #1 from Julian Maurice <julian.maurice@biblibre.com> --- Created attachment 74671 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74671&action=edit Bug 20630: An attempt at multitenancy with Mojolicious This patch tries to achieve the same goal as bug 15562, but with Mojolicious and with minimal changes. It does so by accepting a X-Koha-Conf header containing the path to an existing koha-conf.xml Test plan: 1. Apply bug 20582 2. Apply this patch 3. Use etc/nginx.conf as an example and create two server blocks. Make sure you have different paths for X-Koha-Conf and the files differ at least for the database name (and memcached namespace if memcached is enabled) 4. Run `env KOHA_CONF=a-third-koha-conf.xml morbo bin/koha` 5. Try to access the first server block, change some visible sysprefs like IntranetUserCss and OpacUserCss 6. Do the same with the second server block, and again with http://yourserverip:3000/ 7. Confirm that everything is working normally for each instance 8. Test with and without memcached 9. Restart morbo without KOHA_CONF (env KOHA_CONF= morbo bin/koha) and confirm that the two first sites still work -- You are receiving this mail because: You are watching all bug changes.