[Top] [All Lists]

Re: application.cfm and subdomains

Subject: Re: application.cfm and subdomains
From: "johnab"
Date: Wed, 22 Aug 2007 07:18:59 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
ColdFusion will search up from the currently requested template until it finds 
an application.cfm/application.cfc and stop there, but it WILL go above the web 
root to find one.

 So in your instance, is probably not (physically) beneath on disk so you could simply cfinclude the application.cfm across 

 Or, knowing how CF searches upwards, structure your directory as;

 c:\websites\\Application.cfm - shared between both sites
 c:\websites\\www - mapped to in IIS/Apache
 c:\websites\\admin - mapped to in IIS/Apache

 so any requests to either www or admin would cause CF to search upwards and 
find the application.cfm in the c:\websites\ folder

 hope that helps,

<Prev in Thread] Current Thread [Next in Thread>