I have a collection of pages, physically rooted at, say, root
, with plenty of sub-directories representing applications. Looks like this:
root
|----a
| |-AppA1
| |-AppA2
|
|----b
|-AppB2
|...
I have an IIS server setup to serve root
as a virtual directory under the name not_root
. I say "not_root" because it can be named anything, so long as it points to root
.
My question starts here: I have no mappings at all in my CF setup, but I am able to resolve CFCs stored anywhere in this hierarchy from anywhere in this hierarchy, like so:
new not_root.a.AppA1.someCFC();
.
Which I do not fully understand; it appears CF is communicating with IIS about the physical path of the site root, or CF takes the URL into consideration when resolving a CFC?
I am not complaining about this, it is helpful. But I am wondering if someone can point me to a doc or explain how this is working, and if this is expected behavior and can therefore be relied on.