In the CF Administrator you can set a global 404 handler. I do this, then attempt to include a 404.cfm file relative to the current path (we host multiple sites on one box) If the www.thissite.com/404.cfm file doesnt exist I show a generic 404 message.
So it goes: CF catches the 404 and passes to /CFIDE/global404.cfm global404.cfm checks if www.currentsite.com/404.cfm exists, if not, it shows a generic message. if it does it does a <cfinclude template="404.cfm" /> If you are on a shared host, I'm not sure what you could do. Sean On May 5, 8:09 pm, monkeyvu <[email protected]> wrote: > Hi all, > > I have set seomthing like below in Application.cfm > > <cferror type="exception" template="error.cfm"> > </cferror> > > <cferror type="validation" template="error.cfm"> > </cferror> > > <cferror type="request" template="error.cfm"> > </cferror> > > But it can't catch the 404 - File not found error. > > Do you know this issue? Please help me. Thanks very much. --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
