I have a virtualhost that is a reverse proxy based on a path param "xmg"
<VirtualHost *:443>
ServerAlias some.example
SSL...
ProxyPass /xmg http://localhost:5553/
ProxyPassReverse /xmg http://localhost:5553/
<VirtualHost>
the application is not one i can change, the reverse proxy works, the base html loads, but the clientside html is not "aware" of the path param (xmg), so other assets (js,... ) are sought without the "/xmg/" how can i use the referer, in this case "https://some.example/xmg" to rewrite the requests "/bla.js" to localhost:5553/ or proxypass?