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? > >Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284672 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4