Subdirectories will work if you customize your absolute paths properly ... If you have an application.cfm file in the root of your application, simply place this line in that application.cfm file to determine your application root directory dynamically
<cfset request.abspath = GetDirectoryFromPath(GetCurrentTemplatePath())> then just use this path as the starting point for all your other absolute paths. I've been able to move the app around anywhere I like without breaking any of my absolute paths... What was a little more difficult was determining the directories which exist between the web root and the application directory, i.e. the web root is in wwwroot, but the application is in wwwroot/mystuff/myapplication3 the path I want is mystuf/myapplication3 -- it's doable, but it's difficult. I used a <cfif> clause and a regular expression to do it. Isaac Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 > I've always developed code by editing files directly on my > development > server and using the development server to test before > deployment. > I'm going to begin editing and testing code locally using > the built in > web server in MX, so that the development machine can > become more of a > staging machine, but I wonder how you all handle the fact > that the > standalone server can only host one app at a time? I often > switch > between projects throughout the day and it seems like > moving files in > and out of the wwwroot folder depending on what project > I'm working on > is a kludgey solution. > How do you all overcome this situation? I would like to > avoid using > sub-directories because of absolute paths and such. > Thanks. > __________________________________________________________ > ____________ > This list and all House of Fusion resources hosted by > CFHosting.com. The place for dependable ColdFusion > Hosting. > FAQ: http://www.thenetprofits.co.uk/coldfusion/faq > Archives: > http://www.mail-archive.com/[email protected]/ > Unsubscribe: > http://www.houseoffusion.com/index.cfm?sidebar=lists ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

