I did create the mapping though... it is in CF Server:
Logical Path Directory Path
/ C:\INETPUB\WWWROOT\
/acb/ C:\Inetpub\wwwroot\acb\acb\
-----Original Message-----
From: Hayes, David [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 28, 2000 11:44 AM
To: CF-Talk
Subject: RE: CFINCLUDE problems
The answer is in that message; it thinks you're referencing and absolute
path.
Use the relative path syntax if you don't want to create a mapping.
-----Original Message-----
From: Gina Shillitani [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 28, 2000 10:21 AM
To: CF-Talk
Subject: CFINCLUDE problems
Can you not include files in the following manner? Notes: CF Server has the
mapping, so does IIS, and if you view the page I'm trying to include
directly or link to it, it works fine.
I am attempting to do this:
<CFINCLUDE TEMPLATE="/acb/webpage.cfm?WebPage_ID=20&DID=9">
but when I do this, I get this message:
Template file not found.
HTTP/1.0 404 Object Not Found
Note: If you wish to use an absolute template path (e.g.
TEMPLATE="/mypath/index.cfm") with CFINCLUDE then you must create a mapping
for the path using the ColdFusion Administrator.
Using relative paths (e.g. TEMPLATE="index.cfm" or TEMPLATE="../index.cfm")
does not require the creation of any special mappings. It is therefore
recommended that you use relative paths with CFINCLUDE whenever possible.
BUT, if I do this:
<cfset y="/acb/webpage.cfm?webpage_id=20&did=9">
<CFOUTPUT><A HREF="#y#">y</A></CFOUTPUT>
the link works just fine. Problem is, I don't want a link, I want to include
it.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.