Skip to main content
Participant
December 7, 2011
Question

ColdFusion 9.0.1 - Identifying the CFIDE directory

  • December 7, 2011
  • 2 replies
  • 2609 views

I have a multiple instance installation of ColdFusion 9.0.1 on Unix using Apache as the web server. What is the most definitive way to identify which physical CFIDE directory an instance is using? 

    This topic has been closed for replies.

    2 replies

    BKBK
    Community Expert
    Community Expert
    December 10, 2011

    As Bob Dobbs has said, everything being equal, CFIDE is registered in the Administrator as the mapping "/CFIDE". I would then say the physical directory is

    expandPath("/CFIDE")

    Participant
    December 12, 2011

    Thanks for the replies. Yes, we had some interestingly configured ColdFusion/Apache web sites where we had a physical CFIDE directory in the web root, an alias in the Apache config file for CFIDE and then the CFIDE mapping in ColdFusion. Sometimes those three settings might not be set to the same value. (We could also toss in the value for jrun_module since it determines which ColdFusion instance the Apache process connects which would cause ColdFusion use a different CFIDE directory than what we expect.) It's one of those "we should really fix this, but what will we break" scenarios. After doing some testing it was interesting to see the order in which those different values get used.

    Inspiring
    December 9, 2011

    In the CF administrator go to Server Settings > Mappings page.  There should be a mapping for /CFIDE listed.

    You might also check the Server Settings > Settings page.  On this page check the value for 'Default ScriptSrc Directory'.

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

    You may also need see where Apache maps requests for '/CFIDE' to in order to locate the directory in the file system.