• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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