How can I reference environment variable in http.conf of Apache under mod_proxy settings? I set targetserver as environment variable but apache mod_proxy couldn’t resolve. Any thoughts?
Configuration: ProxyPass /lac/ http://${targetserver}/
Error message received from server
The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /lac/. Reason: DNS lookup failure for: ${targetserver} Apache/2.2.15 (CentOS) Server at localhost Port 80