5
52chevy
Guest
I am having troubles with open_basedir restrictions. Here is the error that I am getting:
Warning: file_exists(): open_basedir restriction in effect. File(/data/www/dev.txt) is not within the allowed path(s): (/home/httpd/vhosts/domain_name_here/httpsdocs:/tmp) in /home/httpd/vhosts/domain_name_here/httpsdocs/include/constants.inc.php on line 20
and here is the contents of the vhost.conf file which should allow what the above is attempting:
<Directory /home/httpd/vhosts/domain_name_here/httpdocs>
php_admin_value open_basedir "/home/:/data/"
</Directory>
<Directory /home/httpd/vhosts/domain_name_here/httpsdocs>
php_admin_value open_basedir "/home/:/data/"
</Directory>
The files in the httpdocs folder work fine...there are the same files in the httpsdocs folder and it gives me the error. I have another server running Plesk 7.0.2 with an identical set up and this works. The server that I am having trouble with is running Plesk 7.5.1. Can anyone tell me the difference between these loads that would make this not work the way old server does? I am at my wits end. Please help!
Warning: file_exists(): open_basedir restriction in effect. File(/data/www/dev.txt) is not within the allowed path(s): (/home/httpd/vhosts/domain_name_here/httpsdocs:/tmp) in /home/httpd/vhosts/domain_name_here/httpsdocs/include/constants.inc.php on line 20
and here is the contents of the vhost.conf file which should allow what the above is attempting:
<Directory /home/httpd/vhosts/domain_name_here/httpdocs>
php_admin_value open_basedir "/home/:/data/"
</Directory>
<Directory /home/httpd/vhosts/domain_name_here/httpsdocs>
php_admin_value open_basedir "/home/:/data/"
</Directory>
The files in the httpdocs folder work fine...there are the same files in the httpsdocs folder and it gives me the error. I have another server running Plesk 7.0.2 with an identical set up and this works. The server that I am having trouble with is running Plesk 7.5.1. Can anyone tell me the difference between these loads that would make this not work the way old server does? I am at my wits end. Please help!