Solved.
http://stackoverflow.com/a/18927484/2788098
Once a custom template is specified in IIS, it uses that template
exclusively and the CFAdmin-set global template is completely ignored by
IIS. However the local template is fullyi functional so, while its a royal
pain to have to do a
installed to another server (VPS) with identical OS - fresh install of CF
but same win2k8R2/64 and config and identical problem. At this point I'm at
a loss to do anything but downgrade to CF9 and wait for CF11. I hate to
throw away all that work but at some point you just have to cut your
In the cfadmin youbyou set the missing and error templates as /filename.cfm
and put it in the root of the site.
It seems that with cf10/Apache if it doesn't find a file in the expected
location it will look in cf internal doc root instead, so u need to clear
out that folder.
Iis 404 template
And, as a side, you can use an application level CF request 404 handler
by using the onMissingTemplate() method in Application.cfc. This only
works for requests to CF processed resources, by template name (a
directory call will just die).
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
debugging marches on...
I took IIS 404 behavior back to default to simplify debugging. So ignoring
the weirdness I described earlier re: the IIS 404 handler, if I just
concentrate on the CF handler, I am saddled with a template that is not
firing.
I put up a thread on Stack Overflow. One
I've seen and dealt with plenty of CF10 404 issues since my install
yesterday, but this appears to be a new one:
This is my first CF10 installation. I am running with Update 11 in place.
Win2k8 R2/64bit.
1. CF Admin's missing template handler residing in the cfusion wwwroot is
nonfunctional.
7 matches
Mail list logo