This is what I did when I had the same issue, I had 10 sites running of the 
same code base and set the application name based on the CGI.SERVER_NAME 
variable.

If CGI.SERVER_NAME was www.xyz.com then application name = xyz


-----Original Message-----
From: Steve Bryant [mailto:[email protected]] 
Sent: Tuesday, February 08, 2011 8:24 PM
To: cf-talk
Subject: Re: Multiple applications with a single codebase issues


You can accomplish that by using the domain name (CGI.SERVER_NAME) to figure 
the ApplicationName, for example (perhaps not directly though).

Also check out the "Many Sites, Single Codebase" blog series by Steven "Cutter" 
Blades:
http://blog.cutterscrossing.com/index.cfm/2011/1/13/Many-Sites-One-Codebase

It has great stuff so far!

Steve

>Pete... see my other note... you can fix this by insure the name of the app
>is different for each URL... not tough at all :) 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342075
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to