Skip to main content
Participating Frequently
May 26, 2013
Question

Symbolic Links do not work for Application.cfm in CF10

  • May 26, 2013
  • 14 replies
  • 5079 views

I have a Web, that use a symbolic link for centralized code.

The Application.cfm, stored in the original web-root, will not read from code

in the linked directory.

Thank you for your assistance.

    This topic has been closed for replies.

    14 replies

    Inspiring
    May 26, 2013

    You're gonna need to provide a bit more detail here:

    * OS

    * how you created the link

    * how you're calling in the code

    * what the error message is

    * have you verified the user CF is using has permissions to the files concerned

    --

    Adam

    PretorianAuthor
    Participating Frequently
    May 26, 2013

    Hi Adam,

    thank you for your answer.

    The web servers works under SuSE Linux 12.3, the link was first copied via a tar-archive

    from the old server and then created new with "ln -s ../orgdirectory newdirectory".

    It seems, that the Session-ID, defined in Application.cfm is not recocnized by cfm-templates

    in newdirectory, which probably is stored in "orgdirectory".

    There are several Error messages, that session-variables (SESSION.LANG for example) are

    not defined. All these variables were defined in Application.cfm.

    The Application.cfm is owned by the same user as the other cfm-Templates.

    This code is identical functional at another server, working with CFMX7.

    I had installed all patches, that offered by Adobe.

    I'm frustrated.

    PretorianAuthor
    Participating Frequently
    May 26, 2013

    I made an additional test.

    A <cfabort> in Application.cfm will cause a Termination, if I call a cfm-Template in the server-root, but not, if I call a cfm-Template in the linked directory (newdirectory as described above)