You can't use cffile to read the config file? On 7/27/07, Michael Dawson <[EMAIL PROTECTED]> wrote: > For some reason, this post didn't make it through the mail system. > > >I have structured my web site (CF8) so that my config settings are > >outside of the web root such as this: > > > >C:\Components > >C:\Config > >C:\CustomTags > >C:\WebSite > > > >I'm building the site at: http://acelinktest.evansville.edu/ and will > >publish it to http://acelink.evansville.edu/. > > > >With the exception of the C:\Config folder, all other folders will be > >published to the production site. The contents of the C:\Config folder > >will contain site-specific information such as the site name > >"AceLinkTest" vs "AceLink" and different values for session and > >application timeouts. (The test site will have shorter timeouts.) > > > >Now, I'm building the Application.cfc and can't figure out the best way > >to set the Application variables such as: > > > >this.name = #appName#; > >this.sessionTimeout = #sessionTimeout#; > >this.mappings["CustomTags"] = #customTagsServerPath#; > > > >I want to use either an Include or Component (not wanting to argue which > >is better), but I can't include a config.cfm file if it's outside the > >web root since the mapping is not yet created. I can't create the > >mapping because I can't read the config.cfm file that is outside the web > >root. > > > >I want to keep the web site as dynamic as possible, regarding server > >paths and URLs, and also keep a separate directory for my site > >configuration. However, where do I get that first bit of information > >that ties it all together?
-- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284685 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4