In the CF administrator there is a page for mappings create a mapping for the site 
there and then use that mapping as the start of your incude path.
 mapping = site_two
<cfinclude template="/site_two/subdir/test.cfm">
or use relative paths.
Frederic

"Newman, Frank (OD)" wrote:

> I am running CF server on a single NT 4.0 box hosting multiple sites.  Here
> is my configuration:
>
> Site A : IP 10.0.0.1 with DNS www.server1.com and root d:\root1
> Site B:  IP 10.0.0.2 with DNS www.server2.com and root d:\root2
>
> my problem is that when I use the <cfinclude> tag in d:\root2 with an
> absolute path, it tries to include files from d:\root1.  For example, when
> is use <cfinclude template="/subdir/test.cfm"> in d:\root2, CF server wants
> to grab d:\root1\subdir\test1.cfm when it should be grabbing
> d:\root2\subdir\test1.cfm.
>
> The CFADMIN program gives you a way to set your root but it looks like you
> can only have one.  Anyone have a solution to this problem other than using
> relative references in your cfinclude tag?
>
> Thanks in advance...
>
> Frank Newman
> Web Developer
> National Institutes of Health
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with 
'unsubscribe' in the body or visit the list page at www.houseoffusion.com

Reply via email to