No you don't you need to set appRoot in all circuits, if it's in your root
myGlobals it cascade down.

I think my problem was is that cfinclude need either relative address or
absolute if you have a CF mapping. I created a mapping so I could use an
absolute address but it still did not work. You can't use a full URL web
address as cfinclude doesn't like it.

I guess I made a typo in my CF mapping, or I should have restarted the
service. As it is I created a request.RelRoot which will have to go in all
nested myGlobals.cfm, it gives the relative address to root directory. I.e.
... or ../.. . and I don't need to worry about mappings.



Gary Morin

KeyGIS Limited
Tel: +44 (0)1604 891152
Fax: +44 (0)1604 891164
www.keygis.co.uk
[EMAIL PROTECTED]

 -----Original Message-----
From:   Erik Voldengen [mailto:[EMAIL PROTECTED]]
Sent:   20 April 2001 18:00
To:     Fusebox
Subject:        RE: Basic Question

I don't know if this is it, since I am new to xfb, but I think
you need to CFSET your appRoot in your circuit apps, or they will
inherit the cfparam'd setting from your home circuit.

-Erik

> -----Original Message-----
> From: Gary Morin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 20, 2001 8:40 AM
> To: Fusebox
> Subject: Basic Question
>
>
> It's a Friday afternoon question.
>
> I'm using extended Fusebox, I need to cfinclude a page from a
> common area
> into a nested page
>
> <cfinclude template="#request.AppRoot#/common/dsp_SideMenuHeader.cfm">
>
> But I get error 404 can't find template
>
> In myglobals.cfm
>
> <cfparam name="request.AppRoot" default="/City">
>
> If I change  it to the full URL name
> <cfparam name="request.AppRoot" default="http://localhost/City">
> it error with physical paths are not allowed.
>
> I've tried creating a CF mapping to the directory /City/  (I
> rather not use
> mappings)
> But I still get the 404 error
>
> I know it a simple problem, but will someone please put me
> out of my misery
> and explain where AppRoot, cfroot etc should really point to.
>
> Thanks
>
> Gary
>
>
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to