Before writing this post, I was thinking that when
coldfusion server get the request for page, It will search Application.cfm/Application.cfc
in current directory until webroot by default and that is final.
But I was wrong.
By default coldfusion will search until system directory
i.e. if we installed coldfusion on C:/ it will serach until C:/.
We can change this setting though coldfusion administrator.We can set the order in which ColdFusion
searches for Application.cfm or Application.cfc if it is not found in the
current project folder. We
can set ColdFusion to search as follows:
§ default search order: ColdFusion looks
for an Application.cfc/Application.cfm file from the current folder until the
system root directory. On Windows, this could be C:\ and on UNIX, /opt.
§ till web root: ColdFusion looks for an
Application.cfc/Application.cfm file from the current folder till web root.
§ in web root: ColdFusion looks for an
Application.cfc/Application.cfm file in the current folder or web root.
We can change this settings
though coldfusion administrator.
Go to Server Settings à
Server in CF admin.

Reference :
http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf3638e6-7ffc.html

Reference :
http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf3638e6-7ffc.html
Nice Artical :)
ReplyDelete