1
jflesher
Multiple URLs
  • 2007/5/3 0:55

  • jflesher

  • Just popping in

  • Posts: 2

  • Since: 2007/5/3 0


I must be missing something; after I installed XOOPS I found that the virtual URL is hard coded into the program; does this mean it will only handle one URL per site; in other words with ports like Dot Net Nuke or Rainbow; you can have unlimited URLs; each can point to the same IP address; they can pull up a different web site for each URL or have multiple URLs pointing to the same site; it's all done by URL look ups and then it sets the virtual URL to the correct (portal) path. I know this is long but I needed to be clear in case you don't understand what I mean by Multiple URLs.
Thanks

2
skenow
Re: Multiple URLs
  • 2007/5/3 1:32

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Not sure, but I think this is what you are saying:

You have 2 (or more) domains - http://www.site1.com and http://www.site2.com
Your DNS points at the same location for both domains (your XOOPS install)
Based on the requested domain, you want to display different content (appear as 2 different sites), but use the same XOOPS database and files/folders

Is this correct?

3
jflesher
Re: Multiple URLs
  • 2007/5/7 18:10

  • jflesher

  • Just popping in

  • Posts: 2

  • Since: 2007/5/3 0


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.

4
script_fu
Re: Multiple URLs

I've used dnn in the past. Its leaps and bounds ahead of XOOPS in this respect.

I'm still holding out that this feature will be standard in the next XOOPS core release.

I have seen this before in phpshop. What a great way to save yourself alot of dev time.

Meaning be able to pull what links, content, partners & ect... ect... from the same database with multi sites.

I say bring it on....

Login

Who's Online

480 user(s) are online (50 user(s) are browsing Support Forums)


Members: 0


Guests: 480


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits