You'll want to create an alias to the images folder between sites.  What web 
server are you using?

Sent from my HTC on the Now Network from Sprint!

----- Reply message -----
From: "fun and learning" <funandlrnn...@gmail.com>
Date: Mon, Jan 24, 2011 20:02
Subject: Coldfusion webroot and multiple domain names
To: "cf-talk" <cf-talk@houseoffusion.com>


Hi All -

I am new to this multiple domain thing. Am working on a project, where there 
multiple domain projects under on webroot. Like www.abc.com, www.def.com under 
one root. The folder structure is something like below:

E:
 webroot
    --INCLUDES
    --IMAGES
      --image.gif
      -- www.abc.com
         --folder1
           --index.cfm
      -- www.def.com

So the above two diff domains share two common folders. When I use an include 
file of form .cfm, I can get it to work. But somehow the images are not 
displayed. I tried the following syntaxes

Suppose I want to access images from index.cfm under www.abc.com/folder1, i 
tried the following:

<img src="../../IMAGES/image.gif">(does not work)
<img src="E:/webroot/IMAGES/image.gif) (also does not work. The image symbol is 
shown but the entire image is not shown).

Any thoughts on how to get this working? 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:341162
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to