Ya need to set your page as the default custom error page in CF
Administrator:
Look under Server -> Settings
Configure the missing template handler to point at your page.
Cheers,
Martin.
----------------------------------------------------------------------------
-------------
LEGAL DISCLAIMER --
This message and any attachments to it is intended only for the individual
or company to which it is addressed and may contain information which is
privileged, confidential or prohibited from disclosure or unauthorised use.
If the recipient of this transmission is not the intended recipient, or the
employee or agent responsible for delivering such materials to the intended
recipient, you are hereby notified that any use, any form of reproduction,
dissemination, copying, disclosure, modification, distribution and/or
publication of this e-mail message or its attachments other than by its
intended recipient is strictly prohibited by the sender. If you have
received it in error, please return it to the sender and destroy the message
and/or copies in your possession. The views or opinions expressed in this
email are that of the individual and not necessarily those of A.B.C (Systems
and Development) Limited or any of it's subsidiaries.
-----Original Message-----
From: Evan Lavidor [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2001 23:44
To: CF-Talk
Subject: Custom 404 Error Page
I know this has been covered before, and I've searched the archives, but
can't seem to make what I need to work...
I want to have a custom 404 error page for my CF-based (4.5.1) site.
It's running on NT and I've set up a custom error page in IIS.
This works great if you request a .html page that doesn't exist (i.e.
http://www.mysite.com/notarealpage.html).
However, when I request a .cfm page that doesn't exist (i.e.
http://www.mysite.com/notarealpage.cfm) then I get a CF 404 error page.
I have: <cferror type="REQUEST" template="/root/html/404.cfm">
in my application.cfm and a mapping to /root in CF Administrator.
What am I doing wrong?
Thanks,
Evan
--
-=-=-=-=-=-=-=-=-=-
Evan Lavidor
Circle.com Boston
Tel: 617-585-3107
Fax: 617-585-3091
-=-=-=-=-=-=-=-=-=-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists