I am using my apache container as a reverse-proxy and trying to access one of my VM services. It is working when I configure like,
ProxyPassMatch "^/(.*)$" "https://host1:443/$1"
ProxyPassReverse "^/(.*)$" "https://host1:443/$1"
With the above config I am able to access all the urls of https://host1:443/*. But When I want to access via an explicit worker like,
ProxyPassMatch "^/sample/(.*)$" "https://host1:443/$1"
ProxyPassReverse "^/sample/(.*)$" "https://host1:443/$1
It says "The requested URL /p/login/ was not found on this server." I tried many solutions and couldn't get to work.