3
You got it; I've been writing what I call multi-portal CMS for years; I hate to say it but yes; on the Microsuck platform using ASP, VB and recently .Net C#; I host three of them; Dot Net Nuke (DNN), Rainbow and my own Binary Bit LAN; the advantage of this is that I only need one IP address and I can host thousands of sites; if you go to
http://www.vetshelpcenter.com (my site hosted on DNN) and
http://www.thelastarchive.com/ also on DNN; you'll see they are two sites; yet ping it and it's one IP; I only need one hosted account to pay for all my sites. While your at the Vets Help Center take a look at the Photo Gallery; I'm going to need to write a module just like it for XOOPS.
The way its done is simple; you have a portals table and an alias table; when some one hits the site you look up the URL in the alias table; if found you get all the info from the portals table based on the Portal ID; it sets the default portal folder used for a relative path for images and stuff; in the main module tables you have a portal ID field that is used to get the content based on a where portalid=x query; not that hard to add support for it in XOOPS.