Web Hosting Talk







View Full Version : Another safe_mode / plesk question


WoodShedd
04-26-2002, 05:56 AM
The problem: safe mode is ON, I want it off, and only for my vhost.

The solution that should work: I created file vhost.conf in /usr/local/psa/home/vhosts/domain.net/conf as follows

<Directory /usr/local/psa/home/vhosts/domain.net/httpdocs>
php_admin_value safe_mode 0
php_admin_value open_basedir "/usr/local/psa/home/vhosts/domain.net/httpdocs/:/"
</Directory>

Problem 2. It doesnt work. i restarted apache, checked for spelling errors checked for a break, and hit my computer.

Am I, once again, missing something?

thanks for any help :)

microsol
04-26-2002, 07:13 AM
Try
<Directory /usr/local/psa/home/vhosts/domain.net/httpdocs>
php_admin_value safe_mode off
php_admin_value open_basedir "/usr/local/psa/home/vhosts/domain.net/httpdocs/:/tmp"
</Directory>

Don't forget the my_apci_rst.