• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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