I have a problem setting the ProxyPass apache tomcat directive for two applications that have two different Context paths in tomcat. Tomcat works for apache, and I use apache for the proxy server to query tomcat. In apache, I want to access both applications via the hostname instead of the context path.
Scenario:
cat
https://domain:8443/app1 https://domain:8443/app2
in tomcat applications have context path app1 and app2
in apache I want to enable both applications as follows:
https://app1.host/ https://app2.host/
In apache, I created a configuration for each domain:
ProxyPass / https://localhost:8443/app1 ProxyPassReverse / https://localhost:/8443/app1
The strange thing app1 is only available through apache, using the path to the context:
https:
Is it possible to implement such a setting using the apache module ProxyPass?
Thanks for your help.
source share