• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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