Hmmmm. This is what I have. CF 404 file located in c:/web/cfm404/404.cfm and mapped to all the sites via IIS. It is mapped as /404/404.cfm I have that set to be the 404 URL in IIS as well.
So maybe this is causing the problem of it running outside of the applications it is mapped to? On Tue, Apr 1, 2008 at 9:07 AM, Ian Skinner wrote: > Phill B wrote: > > I got it to work with the onMissingTemplate method for missing CF pages. > It > > still doesn't want to work for the missing directories. The only CF > variable > > available is the server scope. Whats up with that? > What is the relationship of your missingTemplate handler and the > <cfapplication name...> OR Application.cfc this.name. In order for a > template to have access to application scope and associated session > scope variables it must belong to that application. To assign a > template to an application scope it must have an <cfapplication name=""> > OR Application.cfc this.name with the same string of the desired template. > > I suspect your missingTemplate handler is in a directory that is not > under the Application.cfc OR Application.cfm that defines the > application structure so that ColdFusion has no application to associate > with the template and it flies solo. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302442 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

