This page is for anyone who needs to reference files on the PhixFlow Server.
...
Soft link in Tomcat directory | points to → | Soft link in PhixFlow server | points to → | Directory containing files |
---|---|---|---|---|
/opt/tomcat/webapps/phixflow/ datalink |
| /opt/phixflow/data/phixflow/Projects/MyProject/ |
Configuring Soft
...
Links
Anchor | ||||
---|---|---|---|---|
|
Securing Soft Links
To ensure soft links from Tomcat to PhixFlow directories are secure, configure context.xml as follows:
- Edit
/opt/tomcat/conf/context.xml
- Find the line:
<Resources cachingAllowed="true" cacheMaxSize="1000000" />
- Replace it with:
<Resources allowLinking="true" cachingAllowed="true" cacheMaxSize="1000000" />
Creating Soft Links
In the following commands:
...
For more information about symlinks, see this article on Creating Symbolic Links.
The Path or URL to Use
Within PhixFlow, to refer to a file on the server, start the path with the datalink directory.
Examples:
- file path:
datalink/Project1/Images/file1.png
- URL:
url("https:datalink/MyProject/MyImage.png")
...