Here's the situation: my students are in a master's degree program aimed at working teachers. We use Moodle for course delivery in the program. I've also set up a personal Moodle server (on a commercial hosting provider) and invite my students to create their own Moodle courses there. A fair number of them have, and are using these courses with their own students.
What I'd like to do is let them have their own Moodle system with full administrative access. That would not only give them more Moodle experience, it would reduce the administrative load on me when one of their students forgets his password, or his mailbox fills up and the bounce messages start coming to me, etc.
While I don't mind helping them out now and then, I'm not charging them any money for hosting their courses (I also have a job and am trying to finish a PhD, so "free time" is a little short).
Now, I understand how to create another completely independent site using the same server and database (changing the table prefix, etc.) but that seems to require that I also maintain a second copy of all the code. That's going to chew up my alloted disk space pretty fast.
It'd be great if there were some hack that'd let me share the base code among all the installations, with only the config.php being different. I've thought of a few schemes but nothing really workable on an individual scale (e.g., adding a "site" parameter to all URLs so Moodle could tell which config.php to load, but that would require modifying almost every file in Moodle).
This might also being useful for the growing number of companies who provide commercial Moodle hosting (not only would there be less disk space used, they'd only have update one copy of the code when a new version of Moodle came out).
It's possible that I'm overlooking something blazingly obvious. I'm known for doing that from time to time.
Anyone got a clever way to make this work? Maybe you could do this with apache's mod_rewrite?