Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 421
  • Last Modified:

nested application.cfc

Hi experts,

I have a website in coldfusion, with at its root, an "/Application.cfc" file.

Now we are building a new test version in a subdirectory "/3/"
into this, the new "/3/Application.cfc" file who will serve only the "/3/" website.

My question is : is that practice correct ? Won't the top "/Application.cfc" interfer ?

Thanks
0
adam1h
Asked:
adam1h
1 Solution
 
gdemariaCommented:
only one Application.cfc file is ever called..  so any code run under /3 will only fire the /3/application.cfc file.

If you are buidling a copy of the application located at /  you should put the new applicaton parallel to it, not under it...

so you would have ...

/inetpub/liveroot/
/inetpub/devroot/
/inetpub/testroot/

that would be the better approach...

If the application /3 is intended to be part of, or a section of the existing app (rather than a new version) we should chat about that  a bit more..
0
 
adam1hAuthor Commented:
Thanks
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now