Forum Discussion

bt2019's avatar
bt2019
Icon for Nimbostratus rankNimbostratus
Mar 27, 2020

proxypass rewriting root

We're migrating to a new version of an application. The older version made use of proxy pass for 3 different uris. Under a new version of the application the vendor has a requirement for a client side request to request abc.com/ and abc.com/1/ be rewritten to on the server to abc.com/. The abc.com/ to abc.com/ rewrite works however as soon as we add abc.com/1/ to abc.com/ along with the existing abc.com/ to abc.com/ rewrite abc.com/1/ to abc.com/ doesn't rewrite.

 

For the new version we did look at using the built in F5 rewrite profile however these have 1 to 1 mappings. Is there any way to get the required set up working using proxy pass? If not does anyone know of alternative methods?

 

 

Old version:

Default pool: 1

 

abc.com/2/ abc.com/2/ pool2

abc.com/3/ abc.com/2/ pool2

abc.com/4/ ab.com/3 pool3

 

New version:

Default pool: 3

 

abc.com/ abc.com/ pool1

abc.com/1/ abc.com/ pool1

abc.com/2/ abc.com/2/ pool2

abc.com/3/ abc.com/3/ pool3

xyz.com/ xyz.com/ pool4

 

Thanks

No RepliesBe the first to reply