Would this work?

<cferror type="exception" template="/errorexception.cfm">
<cferror type="request" template="/errorrequest.cfm">



Stefan Richter wrote:
> Hi all,
> I'm using this in my Application.cfc:
>
> <cferror type="exception" template="errorexception.cfm">
> <cferror type="request" template="errorrequest.cfm">
>
> Works fine if the page that throws the error is in the root of my  
> site. But if a file in /includes throws an error I get:
> Error attempting to resolve the template errorexception.cfm.
>
> Short of inserting the absolute URL what options do I have? I'd like  
> to use a relative path, but how would that work when I do not know in  
> which subdirectory the error will occur?
>
> Sorry if this is obvious to seasoned CFers but I couldn't figure it out.
>
>
> Regards,
>
> Stefan
>
>
>
> email:        [email protected]
> web:  www.flashcomguru.com
> twitter:      @stefanrichter
>
>
>
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5752
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to