What version of ColdFusion? ColdFusion 8 has onMissingTemplate() in the application.cfc which handles 404 errors. onError() handles general errors in app.cfc as well. If you want the 'next level up', you can set the global 404 and error handler in the CF admin on the setup page. These work in earlier versions of ColdFusion as well as 8.
On 2/1/09, John Barrett <[email protected]> wrote: > > > Hi, > I had my host put a general error page on my site, but it does not seem to > work with ColdFusion pages(does work for all others), as I still get the > default error page for file not found. Is there something that I did to do > in the Application.cfc, or to modify the 404.cfm file to take care of this? > > Thanks so much, > John > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4325 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
