Re: 404 onMissingTemplate works with html, not with cfm

2008-09-27 Thread James Holmes
This setting also breaks cfchart and other things that rely on servlet filters, unless dummy files matching the filter spec are created in the expected locations. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2008/9/27 Justin Scott > The only downside is that I

Re: 404 onMissingTemplate works with html, not with cfm

2008-09-26 Thread Justin Scott
> Can you explain this in greater detail? As you know, requests come through IIS. For a simple page such as whatever.htm, it looks on the hard drive for whatever.htm, and if it's found, it is read and sent to the visitor. If it's not found, IIS goes to the error control settings to see what i

Re: 404 onMissingTemplate works with html, not with cfm

2008-09-26 Thread Paul Ihrig
Justin Can you explain this in greater detail? thanks On Fri, Sep 26, 2008 at 11:49 AM, Justin Scott <[EMAIL PROTECTED]> wrote: >> but if it is a missing .cfm >> i just get the cf debugger, and not a 404.cfm page > > If you're running IIS, you can set the ISAPI filter and extension > handler to

Re: 404 onMissingTemplate works with html, not with cfm

2008-09-26 Thread Paul Ihrig
i have a Missing Template Handler in cf admin /404.cfm also the default 404 in IIS points to 404.cfm every thig works well UNLESS it is a missing *.cfm file then the 404.cfm seems to be ignored and i get the cf debugger looking thing saying file not found. 404 URL /404.cfm ~~

Re: 404 onMissingTemplate works with html, not with cfm

2008-09-26 Thread Justin Scott
> but if it is a missing .cfm > i just get the cf debugger, and not a 404.cfm page If you're running IIS, you can set the ISAPI filter and extension handler to "check if file exists" (off by default) which will cause IIS to actually look for the file on disk and only pass the request to ColdFu

Re: 404 onMissingTemplate works with html, not with cfm

2008-09-26 Thread Charlie Griefer
you need to set a sitewide missing template handler in the cf admin. if you're on CF 8, you can add an onMissingTemplate method to your Application.cfc on a per-application basis (if need be). On Fri, Sep 26, 2008 at 8:32 AM, Paul Ihrig <[EMAIL PROTECTED]> wrote: > ok.. > i am not sure what to lo

404 onMissingTemplate works with html, not with cfm

2008-09-26 Thread Paul Ihrig
ok.. i am not sure what to look at. if you type a file like whatever.htm our custom 404 page pops up just fine. but if it is a missing .cfm i just get the cf debugger, and not a 404.cfm page you know The web site you are accessing has experienced an unexpected error. Please contact the website