Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

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

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
geek
Posts: 17
Joined: Fri Jun 05, 2015 3:34 pm

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

Post by geek » Mon Jul 23, 2018 8:46 am

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)
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Apache Path to other mount points? /mnt/data/
  • Quote

Post by grayfolk » Mon Jul 23, 2018 10:31 am

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.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password