----------
        From:  Reynolds, Adam [SMTP:[EMAIL PROTECTED]]
        Sent:  Friday, 04 August 2000 12:43
        To:  '[EMAIL PROTECTED]'
        Subject:  RE: CFINCLUDE and mappings

        So what goes in your application.cfm?

In application.cfm I just check that index.cfm is being called:

<!--- This is here just to prevent CF from going up the dir tree looking for
application.cfm         And to prevent users from accessing any file except
index.cfm --->
<CFIF FindNoCase("Index.cfm", CGI.SCRIPT_NAME ) is 0>
        <CFLOCATION url="Index.cfm" addtoken="No">
</cfif>

        One check, have you got the defaul '/' mapping on your server?

        NO!  but I do use a virtual directory on the web server (IIS) for
the parent directory of that root fusebox under the parent there are other
non fusebox directories.

        This is appears to have been removed in my ISP environment and it is
this
        (rather than having a specific mapping) which is messing up
cfinclude.

        Adam Reynolds

        > ----------
        > From:         BOROVOY Noam[SMTP:[EMAIL PROTECTED]]
        > Sent:         04 August 2000 11:36
        > To:   '[EMAIL PROTECTED]'
        > Subject:      RE: CFINCLUDE and mappings
        > 
        > Say what? Our servers use no mappings, and two-level fusebox works
like a
        > charm.
        > 
        > <very_personal_opinion>I don't like the idea of mappings - if you
want to
        > access something put it where you can get at it and spell it out,
prevents
        > any confusion later over where the file came from.
        > </ very_personal_opinion>
        > 
        > If this helps: on our server  FORMURL2Attributes and BodyContent
tags are
        > in
        > the CFUSION\CustomTags directory.
        > We also use request.AppRoot for absolute URL's when needed and
        > request.RelativeAppRoot for relative URL's and includes from the
lower
        > level
        > fuseboxes.
        > 
        > HTH,
        > Noam
        > 
        > 
        >       ----------
        >       From:  Reynolds, Adam [SMTP:[EMAIL PROTECTED]]
        >       Sent:  Friday, 04 August 2000 12:09
        >       To:  '[EMAIL PROTECTED]'
        >       Subject:  RE: CFINCLUDE and mappings
        > 
        >       UPDATE:
        >       Without a mapping in place fusebox is effectively broken. I
have
        > overcome
        >       the problem by deploying content at two levels. Either way
you MUST
        > have a
        >       mapping for the root of the top-level fusebox. 
        > 
        >       Still makes life fun
        > 
        >       Adam Reynolds
        > 
        >       
        
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to