I inherited this system from my retired coworker who inherited it from the person who set it up, so my knowledge of reverse proxies is pretty bad. Here is the situation...
We are upgrading a system from an older version to a new version. I want to change the url that points to the old system so that we can hide it from users but other admins are still able to access it. It is set up with a reverse proxy server that sends all requests to another web server. Also, there is a shibboleth authentication that takes place.
Here is the config for it...
<Location /ABC/>
Order Deny,Allow
Deny from all
Allow from xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx
AuthType shibboleth
ShibCompatWith24 On
ShibRequestSetting requireSession 1
ShibRequestSetting forceAuthn 1
ShibUseHeaders On
require shib-session
ProxyPass http://servername:8080/ABC/
ProxyPassReverse http://servername:8080/ABC/
</Location>
Normally, I would enter https://proxyname/ABC/WebApp and that would take me to the WebApp login. What I want is to change the location config in the proxy so that https://proxyname/DEF/WebApp will still send the request to the backend web server as https://servername/ABC/WebApp and appear to the user as https://proxyname/DEF/WebApp
I tried this but i'm getting redirected to the wrong url and the backed webserver doesn't know what to do...
<Location /DEF/ABC/>
(all the above shib stuff)
ProxyPass http://servername:8080/ABC/
ProxyPassReverse http://servername:8080/ABC/
</Location>
I also tried...
<Location /DEF/>
(all the above shib stuff)
ProxyPass http://servername:8080/ABC/
ProxyPassReverse http://servername:8080/ABC/
</Location>
But that doesn't send the correct url to the backend webserver.
Thanks in advance for any help you can offer!