tracker issue : CF-3568845

select a category, or use search below
(searches all categories and all time range)
Title:

Use correct terminology: "web root" != "CF root"

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 05/29/2013

Components: Administrator

Versions: 10.0

Failure Type: Unspecified

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Most users will encounter

Locale/System: English / Win XP All

Vote Count: 0

See http://cfmlblog.adamcameron.me/2013/05/applicationcfc-look-ups-and-linked.html

In CFAdmin you have this:
Application.cfc/Application.cfm lookup order
* Default order
* Until webroot
* In webroot

However it's not the "webroot" that it looks at, it's the CF root. Which is a different thing.

This is not a cosmetic issue, it has been misleading the community as to how this works.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3568845

External Customer Info:
External Company:  
External Customer Name: Adam Cameron.
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Hold fire on this one... I might have something "curious" going on with my install. Or my brain. I'll report back with clarification soonish. -- Adam
Comment by External U.
15271 | May 29, 2013 04:36:36 PM GMT
Awaiting details on this one (Comment added from ex-user id:vnigam)
Comment by Adobe D.
15272 | May 30, 2013 12:06:09 AM GMT
Hi. I've updated the article I link to. Definitely some erratic behaviour, but I cannot isolate what causes the "erraticness". But CF seems to sometimes consider the CF root to be the "web root", but sometimes consider the web server's doc root to be the "web root" some other times. I think you're just gonna have to emulate what I've detailed in the articles, and try to replicate. -- Adam
Comment by External U.
15273 | June 07, 2013 08:11:10 AM GMT
Adam, I've done some testing around this, also tried the scenarios you mention in the blog, but it turns out the look-up is always with respect to the webserver webrooot. Its been long since you raised this bug. Any pointers since? - Immanuel
Comment by Immanuel N.
15274 | September 29, 2015 04:54:52 AM GMT
To be clear, when testing this: you understand the difference between the CF application server root, and a web site root, yes? My CF install (which is a different one now, TWO YEARS LATER) has this dir: C:\apps\adobe\ColdFusion\11\full\cfusion\wwwroot However my *web site* might be homed in C:\apps\adobe\ColdFusion\11\full\cfusion\wwwroot\some\other\dir Where that website dir is dictated by the web server, not the CF server. You understand this, yes? The question is one of nomenclature (not behaviour), so I dunno what pointers you expect me to have?
Comment by External U.
15275 | October 06, 2015 01:56:18 AM GMT
Adam, We ran a couple of tests and see that the term Webroot refers to CF webroot when access through CF port, and to IIS webroot when accessed from an IIS site port. Closing the bug as NotABug. Let us know if we are missing something here. Below are our findings, Default Order: CF Webroot from CF port: All the way to C:/ IIS webroot from IIS port: All the way to C:/ Until Webroot: CF Webroot from CF port: All the way to CF webroot IIS webroot from IIS port: All the way to iis webroot In Webroot: CF Webroot from CF port: In current directory and CF webroot IIS webroot from IIS port: In current directory and IIS webroot IIS webroot within CF webroot: from CF port: In current directory and CF webroot from IIS port: In current directory and IIS webroot
Comment by Immanuel N.
15276 | August 04, 2016 01:50:41 AM GMT