> I'm trying to set up a new site within IIS. I've got it set
> up to use the same IP address, but a different port number (81)
> in this case. All works well until I get to a point where I'm
> trying to use CFINCLUDE to load a template (and this isn't a CF
> issue, but a general directory structure issue) - using a slash
> at the start of the address, to tell it "go to the root" will try
> and go to the root of the DEFAULT web site, and not the second
> site. I've still got ":81" in my URL, BTW.

If I understand you correctly, and you're doing something like this:

<CFINCLUDE TEMPLATE="/myfile.cfm">

then it is a CF issue. The above CFINCLUDE, beginning with a slash, doesn't
mean that it will look at the document root of the virtual web server, as it
would with an IMG or A tag, but rather that it will look at the mappings in
the CF Administrator. Now, there can only be one "/" mapping in the CF
Administrator, so CF will always go to the same directory to get the file.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to