I need to add custom folder that will be excluded from openbase_dir restriction to all users
1 I've edited /var/cpanel/templates/apache2/vhost.default and added my custom folder path
2 I've rebuilded apache conf with /scripts/rebuildhttpdconf and in httpd.conf custom path was added ok
3 I've restarted apache /scripts/restartsrv_apache and all works great
But have found that after editing list trough WHM >> Main >> Security Center >> PHP open_basedir Tweak all
WHM do not take my edited template from /var/cpanel/templates/apache2/vhost.default and builds vhosts without taking my changes and It does rebuild all vhosts after any changes in WHM
To resolve this I should run /scripts/rebuildhttpdconf and /scripts/restartsrv_apache
Is there any other template file, what I need to edit to resolve this issue?
1 I've edited /var/cpanel/templates/apache2/vhost.default and added my custom folder path
2 I've rebuilded apache conf with /scripts/rebuildhttpdconf and in httpd.conf custom path was added ok
3 I've restarted apache /scripts/restartsrv_apache and all works great
But have found that after editing list trough WHM >> Main >> Security Center >> PHP open_basedir Tweak all
WHM do not take my edited template from /var/cpanel/templates/apache2/vhost.default and builds vhosts without taking my changes and It does rebuild all vhosts after any changes in WHM
To resolve this I should run /scripts/rebuildhttpdconf and /scripts/restartsrv_apache
Is there any other template file, what I need to edit to resolve this issue?