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 General Discussion
  • Search

open_basedir restriction

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
warcos
Posts: 10
Joined: Tue Jul 19, 2016 12:18 pm

open_basedir restriction
  • Quote

Post by warcos » Sat Aug 06, 2016 3:00 am

which is the correct way to add this path to open dir template

Warning: file_exists(): open_basedir restriction in effect. File(/home/admin/web/cybermathbayamon.com/moodledata) is not within the allowed path(s): (/home/admin/web/cybermathbayamon.com/public_html:/home/admin/tmp) in /home/admin/web/cybermathbayamon.com/public_html/moodle/install.php on line 333

<Directory %docroot%>
AllowOverride All
Options +Includes -Indexes +ExecCGI
php_admin_value open_basedir %docroot%:%home%/%user%/web/%domain%/moodledata
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f info@%domain_idn%"
</Directory>

??????

Thanks in advance
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: open_basedir restriction
  • Quote

Post by skurudo » Tue Aug 09, 2016 1:19 pm

For tpl files this is pretty nice:

Code: Select all

php_admin_value open_basedir %docroot%: php_admin_value open_basedir %docroot%:%home%/%user%/tmp:%home%/%user%/web/%domain%/moodledata
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • 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