On 4/7/01, David Hannum penned:
>Here's one for you folks experienced in virtual hosting. If I have virtual
>accounts (dot coms) off of my root directory, can I use CFINCLUDES that are
>located in the root directory? If so, how?
Just use the path. If the host has Enterprise with Sandbox Security
in place, it may not work though I'm not sure.
Otherwise:
C:
Customer1_ftp_root
htdocs
mytemplate.cfm
Customer2_ftp_root
htdocs
myinclude.cfm
To include myinclude.cfm in mytemplate.cfm:
<cfinclude template="../../Customer2_ftp_root/htdocs/myinclude.cfm">
That's one of the inherent dangers of using dynamically populated
includes. Something like
<cfinclude template="#mytemplate#">
will let you go right on up into the system directories.
--
Bud Schneehagen - Tropical Web Creations
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists