OK, I have a single, but major, issue remaining.  I have all of my variable
issues resolved, and I have confirmed that the issue I am seeing is not an
IIS issue (at least I'm pretty darned sure it's not), but rather seems to be
a ColdFusion issue.

I am using a common directory path for each site's root: i.e.
c:\inetpub\wwwroot\app\core\ is set as the root path for site1, site2, and
site3.

Each site than has a unique directory set as the /site mapped directory,
i.e. site1 has C:\inetpub\wwwroot\site1\ mapped as /site, site2
has C:\inetpub\wwwroot\site2\ mapped as /site, etc.

The problem is with the look-and-feel template for each site.  I'm using a
custom tag to set the user interface.  At the top of each page contained in
the core site (the code that is common across all sites), I use cfimport to
link (for lack of a better term) to the custom tag directory:

<cfimport taglib="/site/extensions/custom_tags/" prefix="site">

I then call the UI template thusly:

<site:uitemplate>

for the "top" of the template, and </site:uitemplate> for the "bottom" of
the template.

The problem is that after restarting the server, the first site loaded
(site1, for arguments' sake) displays its template just fine.  However, when
going to site2, those assets controlled by the paths in IIS (i.e. the
site-specific CSS that resides in /site/assets/global.css) are displayed
fine, but those assets that are specifically defined in the template (i.e.
images that are specific to the site and are defined in that site's UI
custom tag) are being displayed in the HTML as the template for site1 even
when trying to access site2.

Needless to say, this has me mystified and confused, and pulling my hair out
just a bit.  I turned off ALL caching in CF Administrator and restarted the
server, and the issue is still happening.

Any idea of what I'm doing wrong, or even just things I should be trying to
resolve this?  I've spent at least a day trying to get this figured out, to
no avail.

Thanks,

Pete


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342455
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to