Actually, the better solution, in my opinion, is a basic HTML page. Unless
you plan on doing something fancy each time a 404 is encountered, there is
no need to create a CF request. 

Just set the custom 404 error template within IIS as you have already done
and also set the "Missing Template Handler" within the CF Administrator.

For instance, my Missing Template Handler within CF Admin is set to
/customErrors/404.html.

/customErrors is a CF mapping that points to a location where I keep my
custom error templates. 404, 500, 500;100, etc...

-----Original Message-----
From: Andy Matthews [mailto:[email protected]] 
Sent: Thursday, February 25, 2010 10:12 AM
To: cf-talk
Subject: RE: Custom 404 Page


I think your best bet is to change your 404 handler to point to a coldfusion
page. Then it can handle everything.

404.cfm 

-----Original Message-----
From: Robert Harrison [mailto:[email protected]] 
Sent: Thursday, February 25, 2010 8:37 AM
To: cf-talk
Subject: Custom 404 Page


Hi,

I put a custom 404 error page in IIS. I works for everything, except CF
pages. 

How do I also cf pages which are not found to display my 404 page?




Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100
Hauppauge NY 11788
P : 631.231.6600 Ext. 119
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.? It must be?&.

Plug in to our blog:?A&W Unplugged
http://www.austin-williams.com/unplugged
 

__________ Information from ESET Smart Security, version of virus signature
database 4895 (20100225) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:331165
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to