• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Event Hanlder -> Update Subdomains -> Document directory

S

StefanieW

Guest
Event Handler -> Update Subdomains -> Document directory

Hello Igor,

could you please help me, i tried to modify open_basedir in php.ini for subdomains with plesk event handler to get like:

open_basedir = "/var/www/vhosts/tld/site1|2|3......andso_on_:/tmp........."

Shellscript for eventhandler :

/root/adjust_subdomains.sh <old_domain_name> <new_domain_name> <old_php_support> <new_php_support> <old_system_user_type> <new_system_user_type> update_subdomains ${OLD_HOME_DIRECTORY}

Could you please tell me the variable for new document root ? so nothing is working ->OLD_HOME_DIRECTORY, NEW_HOME_DIRECTORY, www_root

I need for example "site1"or "site2" or "site3" -> the document directory für subdomains selected bei costumer

Available Variables from documentation:

http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=67897.htm
 
Last edited by a moderator:
Back
Top