You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is the right place to post this issue.
If I define the DocumentRoot in my vhost template as follows: DocumentRoot "${docroot}/../myotherdocroot/"
Then I can create this vhost correctly using the API
Next if I deploy a zpk (with the docroot set in the deployment.xml) the complete value between double quotes gets replaced with the docroot setting from my deployment.xml ignoring how I defined this in my vhost template.
So in short, after deploy I end up with: DocumentRoot "/usr/local/zend/var/apps/<scheme>/<vhost>/<port>/<app>/<docroot_from_deployment.xml>/"
But in my understanding of a template I should have ended up with: DocumentRoot "/usr/local/zend/var/apps/<scheme>/<vhost>/<port>/<app>/<docroot_from_deployment.xml>/../myotherdocroot/"
same thing happens with <Directory "${docroot}/../myotherdocroot/">
The text was updated successfully, but these errors were encountered:
You may be wondering why I want to do this. I'm using this documented workaround https://support.zend.com/hc/en-us/articles/203959473 to deploy two vhosts within one template where each vhost should have its own document root within the deployed app. If I were to deploy one single vhost then it would be fixable by setting the correct docroot in deployment.xml. Changing docroot in deployment.xml is not helpfull because I need both vhosts to have a different docroot relative to the docroot in deployment.xml as defined in the template.
Hi,
Not sure if this is the right place to post this issue.
If I define the DocumentRoot in my vhost template as follows:
DocumentRoot "${docroot}/../myotherdocroot/"
Then I can create this vhost correctly using the API
Next if I deploy a zpk (with the docroot set in the deployment.xml) the complete value between double quotes gets replaced with the docroot setting from my deployment.xml ignoring how I defined this in my vhost template.
So in short, after deploy I end up with:
DocumentRoot "/usr/local/zend/var/apps/<scheme>/<vhost>/<port>/<app>/<docroot_from_deployment.xml>/"
But in my understanding of a template I should have ended up with:
DocumentRoot "/usr/local/zend/var/apps/<scheme>/<vhost>/<port>/<app>/<docroot_from_deployment.xml>/../myotherdocroot/"
same thing happens with
<Directory "${docroot}/../myotherdocroot/">
The text was updated successfully, but these errors were encountered: