could you not have 1 application.cfc which simply calls different methods/includes according to the path in the URL. I have never tried it, and it would be bad practice and only a temp solution (others will swear for my suggesting this), but perhaps a quick fix would be to have the root application.cfc include a child application.cfc.
or in your OnRequestStart, you test the URL and include a settings file from required sub-dir in the URL path, if the path has changed, reload the application. On Mon, Nov 25, 2013 at 6:45 PM, Eric Roberts < ow...@threeravensconsulting.com> wrote: > > That is what I was afraid of ;-) Thanks Steve! > > -----Original Message----- > From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com] > Sent: Monday, November 25, 2013 12:34 PM > To: cf-talk > Subject: Re: Application.cfc question > > > to get the application.cfc in the subfolder to run, then your original > request would have to be to the subfolder. CF bases which application.cfc > to > fire upon the originating request, then travels up the tree til it finds > one > (not down, as you are trying to do) > > Steve 'Cutter' Blades > Adobe Community Professional > Adobe Certified Expert > Advanced Macromedia ColdFusion MX 7 Developer ____________ > http://cutterscrossing.com > > > Co-Author "Learning Ext JS 3.2" Packt Publishing 2010 > > https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-st > yle-user-interfaces/book > > "The best way to predict the future is to help create it" > > On 11/25/2013 12:30 PM, Eric Roberts wrote: > > Here's the background... > > > > We have all of our requests going through the index.cfm in the root and > depending on variable values, they get directed, via cfincludes, to > subfolders. > > > > My question is how do I get the application.cfc in the subfolder to run? > The application.cfc in the root is getting run, but it appears that the one > in the subfolder is not. Each sub-folder contains a separate application > with a unique name and the application.cfc has application specific > variables in it. The application.cfc in the subfolder is set to extend the > one in the root. > > > > Eric > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:357134 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm