• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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