Ok, I though I found out how to input a missing template handler into 
our aged 4.5 Unix ColdFusion server.  I was able to have it server up 
the custom 404error.htm file developed by our web department.  And this 
worked, sort of.

The problem was that this HTML file makes use of Apache <!--- include 
virtual...> directives which, of course, ColdFusion does not understand.

So, I say no problem, I've dealt with this already before and expanded 
on some existing code that reads the html file and replaces all these 
virtual includes with the contents of the included file using <cfile...> 
tags and reFind() functions.  This version even uses a Custom Tag and 
recursion to handle virtual includes inside of virtually included files.

And this works great! http://www.cdpr.ca.gov/errors/404error.cfm.

But when I then went into the ColdFusion administrator and replaced the 
HTML file path '/rootDir/subDir/subDir/htdocs/errors/404error.htm' with 
the corresponding CFML path 
'/rootDir/subDir/subDir/htdocs/errors/404error.cfm' it stop working.  
ColdFusion starts display the default ColdFusion 404 not found error 
rather then my specified Missing Template Handler.

What's wrong here?  Why can't I server up a CFM file from the exact same 
place I can serve up an, albeit incomplete, HTML file?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310451
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