PDA

View Full Version : Enable safe_mode on a subdomain ?


JoaoCorreia
30th August 2006, 02:02 PM
I tried to include in vhost.conf on the subdomain conf dir the:

php_admin_flag engine on
php_admin_flag safe_mode on


but I check in phpinfo and safe_mode is off.

The safe_mode is off for the domain but I wanted to enable to a subdomain.

SW-SOFT added safe_mode on/off to Plesk but not for the subdomains ! :(


Thanks
Joao Correia

Who-m3
31st August 2006, 10:09 AM
There is not a separate configuration section for vhost.conf for subdomains. You have to specify your settings in the vhost.conf for the domain specifying the directory of the subdomain for this setting. It is possible, but it does take you specifying the exact same directories as you would be in the subdomain "vhost.conf" file, if one were to exist.

Hope that helps,
-John