Page 1 of 1

Apache Path to other mount points? /mnt/data/

Posted: Mon Jul 23, 2018 8:46 am
by geek
Hello,

I am looking for a way to let my application (apache) access files in the root directory.

So say my app is example.com and it needs a data directory (for user uploaded files)
currently the app is installed in /home/admin/web/example.com/public_html/

However, it needs a "Data" directory which is mounted at /mnt/data

I have specified the full path in the application, but it does not seem to write in /mnt/data/app1/

1) Is this a vestacp specific problem? does vestacp prevent websites / domains from accessing anything outside their directory? (even though all the permissions / ownerships are correct for that folder under /mnt/data/app1)

Re: Apache Path to other mount points? /mnt/data/

Posted: Mon Jul 23, 2018 10:31 am
by grayfolk
geek wrote:
Mon Jul 23, 2018 8:46 am
I have specified the full path in the application, but it does not seem to write in /mnt/data/app1/
Check logs, i think you have a open_basedir restriction.