In the case of using / to mean the root of your site, this works if you have
no "/" mapping (e.g. <cfinclude template="/includes/myfile.cfm">). Which
implies that CF does know about your IIS settings, otherwise how would it
know the root of your site ?
 
Russ

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2006 05:59
To: CF-Talk
Subject: RE: path outside webroot

> I indeed can, but I don't get why expandpath('/') returns something 
> completely different than expandpath('.') especially if, like you 
> said, CF doesn't know anything about my IIS setup...

Slashes are resolved using mappings, as per the docs. Dots are resolved
using the current location on the filesystem.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized instruction
at our training centers in Washington DC, Atlanta, Chicago, Baltimore,
Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262855
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to