Coldfusion webroot and multiple domain names
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?
