Quote from: peteedley at Mar 25, 2009, 04:06 PM
eg. I currently have 4 sites setup on one VPS one of these sites is my own and the others are for friends, I want to be able to have one install of the core for easy upgrading when new versions come out. I need to be able to administer all the sites to make major changes and solve problems (preferabley from one account rather than seperate accounts, but from what you say this may not be possible). But my four friends would like to be able to have control over their site in the form of adding/deleteing/updateing pages. Some of these sites will have snippets that are used across all sites and so I would like to have these held central again for easy updates. But some will have snippets that only they use and so these could be held on that site only but could easliy be held central as well.
For now, the Content Elements (i.e. Templates, TVs, Chunks, Snippets and Plugins) would be shared by all contexts in a single database, which we’ll refer to as a MODx configuration. In future releases (after 2.0), we will provide a way to secure Content Elements with access permissions. In the meantime, an alternative to having to share these would be to develop a MODx User extension that would allow you to login to and administer several MODx configurations. I have a prototype that uses an external web service to login as remote users on our internal Revolution sites that could be a good starting point.
Quote from: peteedley at Mar 25, 2009, 04:06 PM
Now this could be achieved by parking all the domains to my domain and use contexts with changes to the index file to invoke a given context based on the domain name in http_request. But I would like to also have each domain setup as a seperate domain within my CPANEL for easy email control. Which would then mean that each domain would point to it’s own seprate folder on the server and not to the folder that contains the modx revo.
That’s perfectly fine, you’ll have an index in each folder that initializes the appropriate context representing a particular site. Same difference as using a single index file with a case statement that checks the MODX_HTTP_HOST to decide which context to initialize, or using a plugin (though a plugin is a little less efficient since it would initialize the main web context and then switch to another).
Quote from: peteedley at Mar 25, 2009, 04:06 PM
You *can* administer multple front ends in one Manager and you could restrict other manager users so they could only work on one of those sites. The key question is, how many Manager directories do you want
I think the answer to this is one for each domain
Actually, you can only have one manager per MODx configuration, so this depends on which approach you choose; either one configuration/manager with contexts secured per friend, or one configuration/manager per site with the ability for you to authenticate in each site as a user from your main site.
Quote from: peteedley at Mar 25, 2009, 04:06 PM
, how many core directories,
one
Yep, just one core can support both of these approaches. We manage many configurations with shared cores directly with SVN and it works very well.