brandondawson.org Drupal Website Developer and Consultant

10Apr/110

Plesk 10 & open_basedir

To add a directory to a virtual domain's open_basedir in Plesk 10, simply add a vhost.conf to the conf/ directory of the vhost in question, then run:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain yourdomain.com

Your vhost.conf would need to be in the format of:

<Directory /var/www/vhosts/yourdomain.com/httpdocs>
php_admin_value open_basedir "/var/www/vhosts/yourdomain.com/httpdocs:/tmp:/add/your/directory/here"
</Directory>
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.