open_basedir restriction
open_basedir restriction
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
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
Re: open_basedir restriction
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