On 11/11/05, Justin D. Scott <[EMAIL PROTECTED]> wrote:
> > "/" 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.

this is wrong.  from the code I am currently working on:

<cfinclude template="/pmd/view/include/stylesheets.cfm" />

I have no /pmd mapping in my cfadmin, and no pmd virtual site in iis. 
And it works perfectly.

--
Ryan Guill
BlueEyesDevelopment
[EMAIL PROTECTED]
www.ryanguill.com
(270) 217.2399
got google talk?  Chat me at [EMAIL PROTECTED]

The Coldfusion Open Application Library - COAL - http://coal.ryanguill.com

www.ryanguill.com/
The Roman Empire: www.ryanguill.com/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223956
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to