> Ok, I've got a folder set up under my webroot named "hphomes".
>
> I've got another folder under my webroot named "real_estate_common".
>
> In IIS, I've created a virtual directory in the hphomes directory
> called "real_estate_common".
>
> I thought that all paths created for any file inside the virtual
> directory would be created as though the virtual directory were
> actually inside the webroot, "hphomes"...
>
> However, this works:
>
> <link type="text/css" rel="stylesheet" href="../css/hphGlobal.css">
>
> But, this does not:
>
> <cfinclude template = "../css/conditionalCSSChrome.cfm">
>
> Are relative paths treated different for an include as opposed to
> a css link?

CFINCLUDE or other CFML tags don't know anything about IIS or virtual
directories. Virtual directories are only used to respond to HTTP
requests from the client.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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

Reply via email to