In this thread http://houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:43823
I asked for input on a technique I was using that involved the use of CF's Missing Template Handler. During the course of that discussion it appears a bug has been found in ColdFusion. This has been tested on CF7/win2k3 and a (pretty much) fully patched CF 6.1/win2k, both Standard. Each server was installed to the default location on C drive (c:\cfusionmx\ and c:\cfusionmx7, respectively). Each server has a site wide and 404 error handler placed at CF's default web root (c:\cfusionmx\wwwroot\). Each server runs a number of IIS web sites, all of which are homed to an entirely different location on the C:\ drive (c:\mysites\site1, c:\mysites\site2 etc.). With respect to CFINCLUDE, ColdFusion allows the use of relative paths that are relative to the drive letter, so that it is a simple matter to cfinclude files from other web sites, or folder branches which have nothing to do with any web root, so long as the developer knows the relative path that needs to be traversed, and the calling and included files are on the same physical drive. However, in the above configuration, when the missing template or site-wide error handlers are called upon to cfinclude a file that is located in the (separate) web root of an IIS site, a File Not Found error is thrown. If you try the same thing from a web site, it executes no problem. A cross-branch include only fails to work in the site-wide and missing template handlers. Trying to workaround with mappings doesn't work. You can map the web site root to CF and no change in error thrown. More interesting, you can physically move the 404 and error handlers to a web site's root -- which you mapped to CF -- and also no change. Includes do not appear to work at all in that scenario (where those includes reside either in the same folder in the handler, or underneath it in a subfolder). Including files from a web site in an error handler is unusual to say the least, but as you can see in the linked thread there's a reason for it. Included files that physically reside in the same folder as the error handler work fine, so long as the handler is not sitting in a mapped location. I know this is complicated to follow. A lot of combinations have been tried over the last couple of days. Anyone have any insight on this? -- --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:227564 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

