You could do this many ways: For multiple languages, I often use session vars (that way the URLS don't get bogged up, but you do use a few more resources having all those sessions flying around I guess)
But multiple sites, i.e different domain names on one hosted account I run each site out of it's own folder, then use ISAPI to rewrite the URLS: so www.domain.com/site1/ -> www.site1.com This way, you could have a siteroot application.cfc, and then application.cfc's which extend the site root cfc. I've got about 25 sites running out of one hosting account using that technique: only catch is you can't use absolute siteroot URLs. T On 12 Mar 2007, at 14:40, Che Vilnonis wrote: > I'm looking for some real world advice on how to properly configure my > ColdFusion application for one hosting account that will host five > different > web sites that share the same core templates. Only the images and the > databased information will change from site to site. > > What is the best way to initially determine the domain? (Can CGI > variables > always be used?) Once determined, what is the best way to maintain > its value > (and any other necessary specific site values) from page to page? > Would > session variables be my best bet? > > I'm sure this has been done before. Especially with sites that are > published > in multiple languages. Any tips or advice would be appreciated. > > Thanks, Che > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272373 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

