That is true but maybe a little misleading. 

You can use / in an href or src attribute just fine in a .cfm file but it IS
IIS that is finding that file for you in the end. You just can't use this
method in a cfinclude. (apparently it works fine in 'newer versions' but I
don’t know how much 'newer')

Not trying to say you're wrong Justin, I knew exactly what you meant but it
sounded a little misleading and I just thought id 'attempt' to make it a
little clearer.
 
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-----Original Message-----
From: Justin D. Scott [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 11, 2005 11:07 AM
To: CF-Talk
Subject: RE: cfinclude problem

> "/" is (and has always been) a built-in CF mapping
> (defined in the CF Admin) that goes to the root of
> the site.

ColdFusion has no concept of your "site" like IIS does.  If my root folder
is c:\http\mysite and I try to include "/folder/file.cfm" ColdFusion
wouldn't know where to begin looking.  Any include like this has to be
defined in the administrator as a mapping, otherwise, use relative paths
from the file you're including from.


-Justin Scott





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:223975
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to