ProxyPassMatch backreference issues

22 Views Asked by At

I am attempting to take all requests matching the regex ^/(map/maps/[^/]*/live/.*) redirect into a local server http://127.0.0.1:8100/. However, the path that needs to be passed to the backreference differs from the request. Such as the request would be www.website.com/map/maps/example/live/data, and the backreference needs to direct to /maps/example/live/data. I've tried ProxyPassMatch ^/(map/maps/[^/]*/live/.*) http://127.0.0.1:8100/$1 but that seems to redirect incorrectly.

0

There are 0 best solutions below