3 Replies Latest reply on Jan 22, 2009 9:25 PM by Newsgroup_User

    Cf 404 error handling in shared environment

    Level 7
      Hi -

      My sites in a hosted environment and I want to control 404 dead bad links
      and the page that is served to users. Being on a IIs web server i can
      naturally create custom pages and set within my hosting control panel a html
      custom page.


      This is fine for html pages 404 like
      www.mysite.com/thispagedoesnotexist.html

      but what's the easit way to handle cfm page dead links and get around the
      default (yucky) cfm error page that is displayed by the CF server.
      www.mysite.com/thispagedoesnotexist.cfm


      On all my CF pages i have error handling that catches any error (database,
      etc) emails me the details and presents a custom page. Naturally because the
      entered .cfm page in question does not exist, obviously 404's wont get
      catered for by this error handling.

      Any help appreciated.