Matt,
Thank you for the link. I am working through the first step below:
*Step 1:*
Configure a Missing Template Handler in CF Administrator. Mine is global to
the server and kept in the ColdFusion webroot - which is separate from the
IIS web root and whose default location is c:\ColdFusion9\wwwroot. This
global template is 404handler.cfm and contains the following simple code,
which you can expand upon:
<h1>404</h1><p>Page Not Found</p><cfheader
statuscode="404"
statustext="Not Found">
At this point, visit your web site and execute a bad ColdFusion url:
*http://[domain]/bogus.cfm*. You will see both the IIS remote error
screen/banner followed by your ColdFusion error screen. Check the header
and it is a 404. This next step will solve the dual display problem.
When I visit the bogus page, I still just get the standard detailed iis 404
page, without the cf page that I created. I have tried it both with and
without the "Enable HTTP status codes". I can't figure out what I am doing
wrong. This is on a windows 8 machine. Any ideas? Thank you for the help.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:360096
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm