I have set up a MODX install and the goal is to have several websites running off a single manager. I currently have 3 contexts: web, domain1 and domain2. I have 2 domains resolving to domain1 and domain2 after following this doc -
http://rtfm.modx.com/display/revolution20/Creating+a+Subdomain+from+a+Folder+using+Virtual+Hosts. That part works fine and the domains are resolving to the proper contexts.
My physical file structure is such: I have the main modx install sitting in a folder off root called clients, and 2 folders off root, one for each domain (domain1.com and domain2.com). In those folders I have subfolders for images, files and media to store domain specific content. I have create 2 media sources to point to these folders.
A couple of things are not working. One is that I can see the files fine in files tab when I choose the media source but when I go to actually edit a file or do anything with it I get an error message saying the file doesn't exist.
Another (and more important problem) is that none of the plugins are able to reference the correct path. They think the core files are part of the domain folders. I have checked the paths based on the article above and they are set correctly.
I'd really like to figure out how to make contexts work with multiple domains but this path issue is keeping me back. Any ideas? What info do you need to help solve this?
Thanks!!
Crawford