Topic: Multihosting PunBB
I started hacking on 1.2.15 to make it so it could be easily multihostd off a single copy of the codebase. It's a big job and before I go any further I am wondering if anyone else had already done something like this, or, might anyone else be interested in the end result if I continued ?
I'm considering dropping what I've done so far and to start again on the 1.3-dev code from SVN but that would mean an incompatible system within a few days as soon as the 1.3-dev was updated. It would be better to continue with the 1.2.15 mods I've made so far but even that basically means I need to maintain a parallel, or essentially forked, copy of the codebase. The main change revolves around forcing all access to PunBB via a single index.php (front controller pattern) by changing *all* the links in the code from something like "post.php" to "?m=post" (m could be anything, to me it means "module") with a routine in index.php to include post.php instead of accessing it directly. Doing this means that ALL of the php code can be put in an off-web include path so an unlimited number of instances can be run from a single included codebase. If it's not obvious why, then consider that any bug, modifications or improvements applied to that single codebase instantly become available to all running instances... which could be 100's if not 1000's of virtually hosted sites. So far my 1.2.15 copy mostly runs with all links changed not including the admin area.