• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Rules on vhost.conf not working

T

Teschio

Guest
Hi to all,
I'd like to switch register_globals to on in one of my domains...

i proceed like this:
1)Create a file
/var/www/vhosts/domain.com/conf/vhost.conf

2)Type inside :
<Directory /var/www/vhosts/domain.com/httpdocs>
php_flag register_globals on
</Directory>

3)Run the command
/usr/local/psa/admin/bin/websrvmng -u --vhost name=domain.com

4)Restart httpd

The problem is that in my phpinfo() register_globals are still switched to off...

Can you help me please?
Thanks you all!
 
Hi

You must put this line in:

php_admin_flag register_globals on

and update it with the commands:

/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com

and

/etc/init.d/apache2 reload

And it works.
 
Thank you! It worked!!!

What are differencies between
/usr/local/psa/admin/bin/websrvmng -u --vhost name=domain.com
and
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com
???

Which is the command to remove from "websrvmng" a domain?
Thank you.
 
Back
Top