• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

safemode off for subdomains

R

rmtek

Guest
hi!

hello ²all!

how can i get the safemode off for subdomains?

example:

the safemode for the rmtek.net is off but for the subdomain it is still on.

i made a vhost.conf with:

php_admin_flag safe_mode off
php_admin_flag register_globals on

and put it in my rmtek.net conf folder then i did this:

/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=rmtek.net

and made a restart of the apache.
(i put the same vhost.conf in my subdomain conf folder)

but the safemode for the subdomain is still on.

what is wrong?

thanku you for your help!
p.s. sorry for my bad english
 
Currently, I don't believe custom vhost.conf's for the subdomains are set to work properly. To verify this, read the file httpd.include in the subdomain directory, see if it has the following line second from the end...

"Include /var/www/httpd/domain/subdomain/conf/vhost.conf"

If it doesn't, that's where it's having the problem. You may be able to outline the directive in your regular vhost.conf with the appropriate additional directory directives...
 
hello!

thx for the fast answer!

i have this in my httpd.iclude file:

Include /home/httpd/vhosts/rmtek.net/subdomains/evotest/conf/vhost.conf
</VirtualHost>

an guess:

it is running with safemode off! seems that the webserver had to be restartet full. now it works perfekt!

thumbs up for your fast support!!!

greetz
 
Back
Top