Here's a bit of a conundrum we've been wrestling with a the office.

We have the Missing Template Handler set on our CF server - let's say it points 
to /notfound.cfm

In notfound.cfm we have the following code:

<cfoutput>You've reached notfound.cfm</cfoutput>

If I call a site on the server with a cfm-file I know is not present 
(www.site.com/nothere.cfm) I get the expected result with the page displaying 
"You've reached notfound.cfm".

However - if I go and break the cfml in notfound.cfm:

You've reached notfound.cfm</cfoutput>

And call the same file (www.site.com/nothere.cfm) I get an unhandled 404-error 
from the CF server - and not a 500-error like I would expect.

Have you ever been a victim of this? And if so - how did you solve the problem?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348351
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to