I'll have to think about that one...thanks! Dave...I also have the missing page template set...
Eric On Tue, May 19, 2009 at 6:35 PM, denstar <valliants...@gmail.com> wrote: > > I recently wrote an exception handling service that uses the onError > in Applicaiton.cfc (or vice-versa). > > I like it, because I'm trapping 404 errors the same way I would any > other error (I do special stuff if it's a 404), so there's only one > place to configure exception handling. > > The error logging throttle needs some work (tries to prevent duplicate > error emails, etc.), but overall, I'm liking this approach mucho. > > Probably only works because of how I'm using railo and rewrites and > such, so dunno if it would work on a vanilla adobe cf install, but you > can do things like redirects or alternate URL suggestions and whatnot > pretty easy. > > Bonus! - if we forget to set the site-wide error page (doesn't happen > to professionals, I know ;]) or 404 handler, our app is still wrapped > in it. > > -- > Even the best intentioned of great men need a few scoundrels around > them; there are some things you cannot ask an honest man to do. > Jean de la Bruyere > > On Tue, May 19, 2009 at 5:09 PM, Dave Watts wrote: > > > >> yeah...I have multiple sites on my laptop for testing...so i don't have > "/" > >> defined. I did just creat a mapping ot that directory and CF admin took > the > >> values. Is there anything else that needs to be set up? I have the > >> files...yet to be coded...but the files are there. I try to pull up a > page > >> that doesn't exist and I still get the standard cf error page. > > > > The site-wide error handler doesn't apply to pages that don't exist. > > There's a 404 handler for that, if I recall correctly. > > > > Dave Watts, CTO, Fig Leaf Software > > http://www.figleaf. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322647 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4