Amazing timing on this question, because I was dealing with the same thing late 
last night.

There are some tweaks that need to be made to IIS to have .cfm files use the 
custom 404 handler.  This article gives the details of what needs to be updated 
in IIS:

http://kb2.adobe.com/cps/000/95ee04fb.html

When I made these changes, requests to missing .cfm pages were re-directed to 
the custom error handler correctly. 

However: it did cause a new problem to crop up.  After I made these tweaks, all 
the CF flash forms on my sites disappeared (they wouldn't display in IE, and in 
Firefox, they were replaced by a missing plug-in message).  

If anyone has an idea on how to make the custom error handler work with .cfm 
files AND not break CF Flash forms, let me know.  This problem was affecting 2 
servers: one running CF7, and the other CF8.

Thanks,
Michael


-----Original Message-----
From: Robert Harrison [mailto:[email protected]] 
Sent: Wednesday, March 03, 2010 1:06 PM
To: cf-talk
Subject: handling missing cf templates


We setup a custom IIS handler for 404 errors. Works for all files types but
.cfm files. See: http://69.10.45.169/bad.htm ... works fine.

If you go: http://69.10.45.169/bad.cfm... does not work. 

Is there a way to get a missing cftemplate to display my 404.cfm file?

It needs to affect my site only, not every cf site on the server. 

My server guys says is can't be done... I don't believe it. 

Any ideas?

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 4913 (20100303) __________

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:331324
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to