Hi,
A buddy mentined this to me:
you can add a <cferror type="exception" template="errors.cfm" />
in your Application.cfm-

Then you in the errors.cfm;
---------------------
<cfswitch expression="#cferror.type#">
    <cfcase value="missinginclude">
        <cfinclude template="missinginclude.cfm">
    </cfcase>
    <cfdefaultcase>
        <cfinclude template="generalerror.cfm">
    </cfdefaultcase>
</cfswitch>

i'm pretty sure that'll work.
atomi



On 4/4/06, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
>
> Yup... But they may not know about the fix for it (or that it's a
> problem), so if you can send them explicit instructions they might be
> willing to implement them. :)
>
> Good luck with support. :)
>
> > hrm, well, this for a shared host, where I have no access
> > to that.
>
> > I'm off to write to support people right now.
>
> > Thanks again.
>
> > S. Isaac Dealey wrote:
> >> There's a setting for that in your IIS site preferences.
> >>
> >> Home Directory tab
> >> Configuration button @ lower right
> >> select the .cfm extension and press the Edit button
> >> check or uncheck the "check that file exists" checkbox
> >>
> >> hth
> >>
> >>
> >>> If my host allows me to have a 404 error page, why
> >>> doesn't
> >>> it work when
> >>> using cf file extensions? Is this an IIS or other
> >>> setting?
> >>> When I go to
> >>> (nonexistent) foo.cfm on my page, I get the "File Not
> >>> Found" CF error.
> >>> If I go to (nonexistent) foo.html, IIS delivers the nice
> >>> 404 page I created.
> >>
> >>> Is this a setting or just the way it is?
> >>
> >>
> >> s. isaac dealey     434.293.6201
> >> new epoch : isn't it time for a change?
> >>
> >> add features without fixtures with
> >> the onTap open source framework
> >>
> >> http://www.fusiontap.com
> >> http://coldfusion.sys-con.com/author/4806Dealey.htm
> >>
> >>
> >>
>
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236937
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to