Thanks, I had thought about that too, but that would require a mapping
for every site, and one for new sites too. So this was less work
(since I can determine the path programatically).

Jamie

On Tue, 4 Dec 2001 11:06:58 -0600, in cf-talk you wrote:

>For CFInclude, you can use mapped paths (in CF Administrator) to clean 
your
>pathing up.
>
>----- Original Message -----
>From: "Jamie Jackson" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Tuesday, December 04, 2001 11:04 AM
>Subject: Re: Limitations in "Missing Template Handler" Template?
>
>
>> Okay, figured it out.
>>
>> Both <cffile> and <cfinclude> will work.
>>
>> With <cffile> you need to output the <cffile> variable, as opposed to
>> letting <cffile> display it directly.
>>
>> With <cfinclude> the pathing is screwy. I used a bunch of
>> "up-directories" (../) to get all the way to the root of the server
>> drive, and then used absolute pathing to get back down to the file I
>> wanted:
>>
>> <cfinclude
>> template="../../../../../../../../../../../websites/mysite/404.cfm">
>>
>>
>> Hope it helps someone.
>> Jamie
>>
>> On Fri, 30 Nov 2001 17:39:01 -0500, in cf-talk you wrote:
>>
>> >I've found that HTTP redirects and <cflocation>s function properly,
>> >but they don't quite have the behavior I need within my custom CF 404
>> >page.
>> >
>> >So, I'm still wondering about <cfinclude>s within my "Missing 
Template
>> >Handler" page.
>> >
>> >Possible, or no? Is there anything special I need to do with the
>> ><cfinclude> to make it work?
>> >
>> >Thanks,
>> >Jamie
>> >
>> >On Fri, 30 Nov 2001 13:55:47 -0500, in cf-talk you wrote:
>> >
>> >>I'm trying to set up a custom 404 template that can (individually)
>> >>handle multiple sites' (CF) 404 errors (they are hosted on the same
>> >>server).
>> >>
>> >>I'm having trouble with <cfinclude>s and <cffile>s within the custom
>> >>CF 404 template: I can't get them to work.
>> >>
>> >>Are these disabled to prevent endless 404 error loops? If not, what
>> >>might I be doing wrong?
>> >>
>> >>Thanks,
>> >>
>> >
>> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to