I've been writing CF since version 1, but have always been behind corporate firewalls or on dedicated servers. Now I'm working on a public site on a shared server and have a question that seems pretty basic to me, but I can't figure out the answer. To make a site more maintainable we use include files for headers, footers, navigation panels, etc. In the past I have always been able to use this notation to get to a file on the root directory regardless of what directory the included file was called from: <cfinclude template="/header.cfm"> With a dedicated server that is not a problem. The problem is that the techs that work on the shared server say that this notation is not a "relative" path and cfinclude requires a relative path or a CF Admin mapped path. I asked if they could map "/" to the web root of our site and they said they cannot because of the shared status. I've tried several other techniques without success. I looked up the CF Docs and they say that "/header.cfm" is a relative path. When I try it, though, it throws an error about using relative or CF mapped paths in cfinclude. Has anyone got a relatively simple solution to this problem? I hate to have multiple copies of a header, footer, or navigation file because that defeats the purpose. Thanks, Loyd Campbell Plano, TX
_______________________________________________ Reply to DFWCFUG: [email protected] Subscribe/Unsubscribe: http://lists1.safesecureweb.com/mailman/listinfo/list List Archives: http://www.mail-archive.com/list%40list.dfwcfug.org/ http://www.mail-archive.com/list%40dfwcfug.org/ DFWCFUG Sponsors: www.instantspot.com/ www.teksystems.com/
