I think I found a solution. I will have a 404.cfm file for each site that will load a cfc that will take care of the missing page. Its not perfect but at least I will only have to deal with one cfc rather than one for each of the sites. Thanks for the help Ian!
On Tue, Apr 1, 2008 at 12:13 PM, Ian Skinner wrote: > Phill B wrote: > > 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? > > Yes, I presume your application is not in any of these directories [c:/ > OR c:/web OR c:/web/cfm404/]. Applications are defined on file system > directories. Web server virtual mapped directories do not append this. > > This is probably not a practical solution, but it should demonstrate the > conecept. Put your 404.cfm inside your application directory, with the > appropriate IIS configuration, underneath the Application.cfc or > Application.cfm file that defines the application name. If you do this, > the template should have access to that applications variables. > > Obviously this it not a very global or useful solution, but it is just > for demonstration purposes. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:302445 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

