I guess with the approach you describe below, that I'd use cgi.http_referer instead of cgi.server_name to set variables, right?
-----Original Message----- From: Russ Michaels [mailto:[email protected]] Sent: Thursday, February 17, 2011 1:21 PM To: cf-talk Subject: Re: Feedback on this approach to "many sites, one codebase" (MSOC) FYI it is actually a best practice these days to only have 1 domain accessing your site and to redirect all others to that domain (including www) whether doing it in your code or using url redirection. You saw one of the reasons which is managing your code base, other reasons include web stats traffic (which usually only tracks the primary domain), SEO (which supposedly doesn't like multiple domains pointing to same site). -- Russ Michaels www.bluethunderinternet.com : Business hosting services & solutions www.cfmldeveloper.com : ColdFusion developer community www.michaels.me.uk : my blog www.cfsearch.com : ColdFusion search engine ** *skype me* : russmichaels ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:342411 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

