• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Enable safe_mode on a subdomain ?

J

JoaoCorreia

Guest
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
 
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
 
Back
Top