How to set environment variables in dispatcher config
I have followed the directions to set environment variables in dispatcher config for Apache 2.4. I can use the variables within httpd.conf and included files. But the variables do not seem to be getting set in dispatcher.any.
i'm trying to set /docroot "${DOCROOT}"
Where DOCROOT is initialized at apache start
export DOCROOT="/opt/aem/httpd/cache"
The virtual host entry is using this variable fine.
I also noticed that the dispatcher documentation for environment variables has a typo in the /renders section,. TIt says to set RENDER_IP variable, but the example uses ${PUBLISH_IP}. No big deal, but I figured I would note it while I was talking about it.