Remove all open_basedir restrictions in Plesk

If you want to remove all of the open_basedir restrictions for all sites in Plesk, simply create a file called /etc/httpd/conf.d/zzz_openbasedir_removal.conf and add this text within it:

<DirectoryMatch /var/www/vhosts/(.*)/httpdocs/>
        php_admin_value open_basedir none
</DirectoryMatch>

Just a note, this isn't a terribly great idea from a security standpoint. :-)

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2007/06/30/remove-all-open_basedir-restrictions-in-plesk/ .
© Major Hayden 2010.

2 Comments   »

RSS feed for comments on this post , TrackBack URI

Leave a Reply