I think you'll get a better response to this on the CF-Talk list, but here
goes.

It's called the Application Service Provider model.

It's what we wrote at the first real CF job I had down in NC.  You have the
right idea.  Basically you set up your web server's root directory for a
directory that has an application.fcm/cfc and an index.cfm.  These set up
your application so they each have their own name and memory space, specify
dsn and whatever other variables are specific to the site and include your
code base, which is stored off of your web root.

-----Original Message-----
From: House of Fusion [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 27, 2007 7:31 AM
To: CF-Community
Subject: One Code base - Multiple sites

I know someone was talking about this not long ago, was wondering if they
found a solution.

Goal:  One code base (one full set of application code)
Multiple sites using the same code base

Example:
Application code:
C:\webs\myApp

Multiple Sites: 
C:\wwwroot\customers\Cust1 - url: http://www.myapp.com/cust1 or  - url:
http://cust1.myapp.com/
C:\wwwroot\customers\Cust2 - url: http://www.myapp.com/cust2 or  - url:
http://cust2.myapp.com/
C:\wwwroot\customers\Cust3 - url: http://www.myapp.com/cust3 or  - url:
http://cust3.myapp.com/

My thought was having a configuration file in each directory that sets the
site parameters:
Site Name, POC Email, etc.
Then call the required application files.

Just unsure how to go about accomplishing it using CFMX 7 

Any tips / pointers would be appreciated.






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:239110
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to