<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 7 - htmldocs - 00000277.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T10:38:34</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000277.htm#58723" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000277.htm#39997" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000277.htm#58723">
		<title>coldfusion/7/htmldocs/00000277.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000277.htm#58723</link>
		<description>The documentation here makes for some confusion.&lt;br /&gt;&lt;br /&gt;First of all, there's some debate about what terms mean what kinds of &lt;br /&gt;paths.&lt;br /&gt;&lt;br /&gt;Some use the following terminology:&lt;br /&gt;relative path: anything starting with a file or directory name, ./, ../, or / &lt;br /&gt;where the / path is commonly called &quot;webroot relative&quot;&lt;br /&gt;&lt;br /&gt;absolute path: on Windows something starting with a drive letter, on &lt;br /&gt;*NIX, something starting with a / character (the root of the UNIX box's &lt;br /&gt;disk systems).&lt;br /&gt;&lt;br /&gt;For others, especially those with an Apache background, the following &lt;br /&gt;&quot;lexicon&quot; is preferred (and actualy makes for a much clearer, cleaner &lt;br /&gt;discussion):&lt;br /&gt;&lt;br /&gt;relative path: anything starting with a filename, ./ or ../&lt;br /&gt;&lt;br /&gt;absolute path: anything starting with a /, working from the webroot down &lt;br /&gt;the directory tree... this is what Apache calls an &quot;absolute path&quot; and most &lt;br /&gt;others call a &quot;webroot relative path&quot;&lt;br /&gt;&lt;br /&gt;physical path: anything starting with a drive letter on Windows or a / on &lt;br /&gt;*NIX, meaning the root of the server's disk systems.&lt;br /&gt;&lt;br /&gt;That little bit of clarification out of the way, the cfinclude documentation &lt;br /&gt;indicates that what Apache users call an &quot;absolute path&quot; cannot be done &lt;br /&gt;without a mapping. THIS IS NOT THE CASE. Any cfinclude using a path &lt;br /&gt;of &quot;/CFIDE...&quot; is guaranteed to work on any version from 6.1 up, with no &lt;br /&gt;mappings defined whatsoever, including those who have wisely &lt;br /&gt;removed the &quot;/&quot; mapping from the CF Administrator.&lt;br /&gt;&lt;br /&gt;So to use webroot relative or absolute paths (in the Apache sense), you &lt;br /&gt;need no mappings UNLESS the file you wish to cfinclude lies outside &lt;br /&gt;the webroot:&lt;br /&gt;&lt;br /&gt;This will work, with zero mappings listed in the Administrator&lt;br /&gt;/=c:\inetpub\wwwroot&lt;br /&gt;/modelglue = c:\inetpub\wwwroot\modelglue&lt;br /&gt;&lt;cfinclude template=&quot;/modelglue/modelglue.cfm&quot; /&gt;&lt;br /&gt;&lt;br /&gt;This will NOT work without a mapping of /modelglue pointing at the &lt;br /&gt;correct folder:&lt;br /&gt;/=c:\inetpub\wwwroot&lt;br /&gt;/modelglue = c:\inetpub\external\modelglue&lt;br /&gt;&lt;cfinclude template=&quot;/modelglue/modelglue.cfm&quot; /&gt;</description>
		<dc:creator>cf.Objective</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-12-29T15:28:26</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000277.htm#39997">
		<title>coldfusion/7/htmldocs/00000277.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000277.htm#39997</link>
		<description>This method of using a variable to set the template path does not seem &lt;br /&gt;work in a page that is being included. i.e. you can't nest includes with &lt;br /&gt;this method.</description>
		<dc:creator>Laverda668</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2005-09-26T21:33:57</dc:date>
	</item>
	</rdf:RDF>

