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:
-
How can I properly configure Scriptcase to use an external/shared directory for images and documents?
-
What is the recommended way to define and reference subfolders inside that shared directory?
-
Are there best practices regarding:
- Apache permissions
- Security (preventing direct access if needed)
- Portability between development and production environments
-
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!
but may be it will also pick up the path from the documents folder.