• 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.

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