I don't think you can set a default 404 handler like you can an error
handler using CFERROR. I think going into the web server settings for your
site (I know this works on IIS and Apache) and defining your own 404 handler
module is the only way to do this.

It would be great if I'm wrong :)


----- Original Message -----
From: "Jim McAtee" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, September 25, 2003 15:26
Subject: Custom error page problem


Been quite a while since I've dealt with using custom 404 error pages in CF.
I'm not getting the following simple app working.  I just get the standard
CF
(not IIS or browser) 404 page when a nonexestant.cfm page is requested.


<!--- application.cfom --->
<cferror type="request" template="error.cfm">

<!--- error.cfm --->
<html>
<head></head>
<body>Hello</body>
</html>

Do I need to do something else?  This is a 'dead' web site and ultimately I
just want to redirect traffic from this site to the index page of another
site,
no matter what page is requested so that bookmarks and search engine links
will
more or less work.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX 6.1, now 2.5 times faster. 
http://www.macromedia.com/software/coldfusion/productinfo/upgrade/jump/introducing.html?trackingid=ColdFusion_468x60g_HouseofFusion_carat_082803

Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138533
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to