You can use CF Mappings and set a path called MySites and point it to C:\mysites and then you just would reference it as <cfinclude templete="/mySites/web/subfolder/foo.cfm">
John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -----Original Message----- From: Matt Robertson [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 21, 2005 1:17 PM To: CF-Talk Subject: Re: Whats wrong with this friendly URL idea? On 12/21/05, Burns, John D <[EMAIL PROTECTED]> wrote: > The only question I would have is why you're using CFHTTP to grab the > file. If it's on your server, you could do a <cfinclude> and it will > drop it right in the page. I hope that helps. I would love to do that, but tried and it doesn't want to work. The error handler is located at c:/cfusionmx/wwwroot/hendler.cfm, but the web site is at c:/mysites/web/subfolder/foo.cfm. So I write <cfinclude template="../../mysites/web/subfolder/foo.cfm"> and it breaks the code. I have no problem traversing up higher than the web root for a cfinclude (i.e. along the same branch), but this was the first time I tried to traverse up one branch to the drive root and back down another. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227474 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

