We use config files that are based on host names... We used to use ini files
but now we use XML for simplicitys sake our ini files were structured like
this...

[default]
Mysecurepath=c:\secure\ 

[development.site.com]
Mysecurepath=d:\secure\ 

[www.site.com]
Mysecurepath=e:\secure\ 

By doing this, we could have one config file for all deployments and the
correct vars would be loaded in using the hostname which had to match the
sections in the ini file. If there were no matching sections, the defaults
were loaded instead.

Paul



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262813
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to