You can keep a cfroot variable similar to your docroot variable. It simply contains the path to your application from the / cf mapping.
So, if your hosting provider had / mapped to c:/www but your site is c:/www/foldername/yoursite, you would keep request.cfmapping = "/foldername". Then you would just do <cfinclude template="#cfmpapping#/puu/somthing.cfm DRE -----Original Message----- From: Mauricio Giraldo [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 8:33 AM To: CF-Talk Subject: Multiple sites... Hello I was just googling around and found this post. I think I have a situation where relative paths will not solve the problem. I have an app that cannot use relative paths for cfincludes and cannot configure a mapping in cfadmin (shared hosting environment). Am I lost? Why can't I have relative paths? Because the cfinclude template attribute is dynamically generated. I have a variable set up in the Application.cfm called request.doc_root = "/mysite/". CFM files in different subfolders cfinclude othe files in other subfolders based on the doc_root variable. Another issue is that in our shared hosting environment I cannot instantiate a CFC that is one level up from the file from where I am instantiating. Is there a workaround for these issues? Thanks - mga ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm