P
phibster
Guest
I have been trying to change the open_basedir restriction on a single subdomain to allow a 3rd directory. I have followed the example given here (this is for adding www.subdomain.domain.com but same principle). I created the vhost.conf file in the right folder and placed the following line:
I then executed /usr/local/psa/admin/sbin/websrvmng -v -a to update the server. I then tested the basedir restriction and it hadn't changed. I restarted the httpd service. Still no go. What am i doing wrong? Is it a case of not being able to reassign that value once it has been set? If so how else can I get around this?
PHP:
php_admin_value open_basedir "/home/httpd/vhosts/domain/subdomains/subdomain/httpdocs:/home/httpd/vhosts/domain/subdomains/secondsubdomain/httpdocs:/tmp"
I then executed /usr/local/psa/admin/sbin/websrvmng -v -a to update the server. I then tested the basedir restriction and it hadn't changed. I restarted the httpd service. Still no go. What am i doing wrong? Is it a case of not being able to reassign that value once it has been set? If so how else can I get around this?