Another alternative to switching hosting providers: 

http://www.cflib.org/udf.cfm?ID=837

All you'd need to do is replace instances of template="#map#/blah.cfm" with 
template="#getRelative('blah.cfm')#" and I can help you write a multi-file regular 
expression to do that if you like. Let me know if you'd like to go that route and you 
want some help, I'd be glad to lend a hand. :) 

This UDF is also included in the onTap Framework 

http://www.turnkey.to/ontap 

hth 

Isaac 

------ Original Message ------ 
From: <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECTED]>
Sent: Aug 28, 2003 07:52 AM
Subject: re: Multiple sites...

>> Date: Thu, 28 Aug 2003 10:33:20 -0400
>> From: Mauricio Giraldo <[EMAIL PROTECTED]>
>> 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.
>
>Who's your host?  Your host should be able to set up a mapping for you (which should 
>help you with your CFC problem as well).
>
>With CrystalTech, you just have to ask them to set up a mapping and they'll do it.  
>(For me, I just had them set up a mapping to my site's root -- that took care of my 
>needs, because I could use relative paths based on that mapping)
>
>Scott
>
>---------------------------
>Scott Brady
>http://www.scottbrady.net/
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Reply via email to