cancel
Showing results for 
Search instead for 
Did you mean: 

proxypass rewriting root

bt2019
Nimbostratus
Nimbostratus

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

0 REPLIES 0