Steve 'Cutter' Blades said
> And, as a side, you can use an application level CF request 404 handler
> by using the onMissingTemplate() method in Application.cfc.

Unfortunately this is a legacy site with an Application.cfm.  I've looked
at converting it to a .cfc specifically to take advantage of that handler
but its a bit of a monster.  I'd probably spend more time doing that than I
would removing CF10 and going back to CF9 (I have a license I can use if I
must).  All of this has been working fine in CF9.  Same OS and version.
Only change is CF version and cf9 lockdown vs. cf10 lockdown.

Russ Michaels said

> In the cfadmin youbyou set the missing and error templates as
/filename.cfm
> and put it in the root of the site.

The root of the SITE?  Interesting as I have always kept the sitewide error
handler and the missing template handler in the coldfusion root:
c:\coldfusion9\wwwroot.  I would then specify /missingtemplate.cfm and
/sitewideError.cfm in the cf admin.  My IIS site roots are in
c:\other\place\siteroot.

But you reminded me I did it differently on another server with one site on
it:  In cfadmin I mapped 'c:\other\place\siteroot' to '/siteroot'.  Then in
the spots for missing template/error handlers, I specified
'/siteroot/missingtemplate.cfm' and /siteroot/sitewideError.cfm ... worked
great.  Tried that here and ... does not work.  I also set IIS back to
default 404 handling to take that variable out of the picture.  The IIS
request trace says that the failed 'foo.cfm' url is
http://[domain]:80/jakarta/isapi_redirect.dll.


If I have a CF missing template handler in place, I would think the IIS
failed request trace wouldn't fire at all, since CF handles the 404.  I am
surmising that since IIS sees a 404 even with default error handling, CF's
missing template handler isn't being recognized.

Oh also in IIS I have tried setting the cfmhandler to File (as recommended
in the Lockdown guide) or 'unspecified', which is supposed to be the analog
of unchecking the old IIS6 'check to see that file exists' setting.  Same
failure in both instances.

-- 
--m@Robertson--
Janitor, The Robertson Team
mysecretbase.com


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

Reply via email to