Using Environment Variables in AEMaaCS
Hi AEM Community,
I have the below code configured in my dispatcher_vhost.conf -
# Allow ingressroute checks through on /systemready (regardless of dispatcher filters)
<Location "/systemready">
ProxyPass http://${AEM_HOST}:${AEM_PORT}/systemready
RewriteEngine Off
</Location>
# Allow access to CRXDE on dev environment
<IfDefine ENVIRONMENT_DEV>
<LocationMatch "/crx/(de|server)/">
ProxyPassMatch http://${AEM_HOST}:${AEM_PORT}
RewriteEngine Off
</LocationMatch>
</IfDefine>
We have not defined any Environment Variables for AEM_HOST and AEM_PORT as referenced above.
In AEMaaCS the CRXDE access is disabled by default. Hence, the above configuration doesn't make sense to include in dispatcher_vhost.conf.
Query 1 - Do we need to configure these parameters ? I checked the WKND codebase but was unable to find these parameters defined in the /conf.d/variables folder.
Query 2 - In AEMaaCS should these parameter be configured ? If yes, then how should these parameters be defined ?
We usually have only Program ID and Environment ID.
@arunpatidar, @mohit_kbansal, @kautuk_sahni, @joerghoh, @jagadeesh_prakash, @manu_mathew_
Thanks in advance.
Rohan Garg