I wish there were better documentation or examples of how this should be setup. There is nothing that explains the proper syntax or format of the key values, what the values should be or what keys are needed for what. We spent way too much time trying to sort this out. So hopefully this will help others, brave enough to try to use contexts on the projects.
So it seems simpler is better. With this setup links are working across contexts, wayfinder and getResources is working and images & links in TinyMCE are working now.
Context: web
base_url: /
http_host: svaroopa.org
link_tag-scheme: full
site_start: 1
site_url:
http://svaroopa.org/ (must have trailing slash)
Context: svaroopa-build.com
base_url: /
http_host: svaroopa-build.com
site_start: 1072
site_url:
http://svaroopa-build.com/ (must have trailing slash)
While trying to figure out how to set this up, I found several forum entries that specified a lot of different keys and a variety of values for those keys. Which I attempted to use early on (see previous posts). Some of them were either not necessary or just wrong.
Finally, after much difficulty, we've learned some key items:
base_url should be just a slash
The site_url must have the http:// and a trailing slash
The http_host should NOT have the http:// only the site_url should have this.