Sharing images between different Scriptcase projects on the same Apache server

Hello everyone,

I’m running multiple Scriptcase projects on the same Apache server, and I need to share images (and possibly documents) between these projects.

Because of this requirement, I cannot use Scriptcase’s default image and document directories, since they are project-specific. Instead, I want to store files in a shared directory outside the individual Scriptcase project folders, with relevant subfolders (for example per module, category, or project).

My questions are:

  1. How can I properly configure Scriptcase to use an external/shared directory for images and documents?

  2. What is the recommended way to define and reference subfolders inside that shared directory?

  3. Are there best practices regarding:

    • Apache permissions
    • Security (preventing direct access if needed)
    • Portability between development and production environments
  4. Is this better handled via:

    • PHP constants / global variables
    • Scriptcase configuration options
    • Symbolic links
    • Or another recommended approach?

If anyone has examples or experience with this setup, I’d really appreciate your guidance.

Thanks in advance!