Issue with #2 fb_.application.fusebox.approotdirectory = fb_canonicalPath(fb_.application.fusebox.webrootdirectory & fb_.appPath, fb_.osdelimiter);
This is used to locate the fusebox.xml files and others, notice it starts with the web root, thus it looks like you must have all core files in your webroot I think. gabe -----Original Message----- From: Brian Kotek [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 12:46 PM To: CF-Talk Subject: Re: Fusebox dir structure so sensative stuff not web accessable Well you can just set the model and view circuits to have access="internal" and no external users can call anything in them. Or you can elect to move the entire application (controller, model, view, parsed and plugins) out of the web root and just have your index.cfm file in the web root. In your index.cfm file, where you include the core file, just use a relative path from your web-accessible directory to wherever your application code is, like this: <cfinclude template="../mynonwebaccessibledir/fusebox4.runtime.cfmx.cfm"> If you keep the Fusebox XML file along with the rest of your application, the circuit mappings are the same (relative to the fusebox.xml file). On 4/27/05, gabriel l smallman <[EMAIL PROTECTED]> wrote: > > Im trying to figure out how in a production environment you would > build your folder structure and choose a webroot so that the view and > parsed etc. > folders are not web accessible. > > So right now > > Controller > Model > View > Parsed > Plugins > > And I would think making the controller the web root. Only issue in in > root fusebox.xml.cfm when im creating alias's are these figured from > the web root? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204788 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54