Hi,
I think you can achieve this by moving rewrite operations into backend
section, likes the following:
frontend:
acl is_test url_beg /Test
use_backend test if is_test
backend:
acl is_test url_beg /Test
http-request set-path /Prod if is_test
On Wed, Jun 14, 2017 at 5:08 PM, Haim Ari <[email protected]> wrote:
> Hello,
>
>
> I'm would like to create an ACL that will rewrite the URI
>
>
> if the URI is "/Test"
>
>
> https://test.example.com/Test <https:///geoEdgeTest>
>
>
> Change it to: /Prod
>
> https://test.example.com/Prod
>
>
> *But*
>
> *At the same time also send it to a specific backend*
>
> Here is what I've tried but does not seem to work:
>
> acl is_test url_beg /Test
> use_backend test if is_test
> http-request set-path /Prod if is_test
>
>
>
> Thanks you,
>
> Haim
>
>
>
>