Forum Discussion
Victor_4983
Sep 15, 2015Nimbostratus
Hello Stanislas.
Thanks for your reply. I tried the following rule and it seemed to work. Not an iRULE expert so not sure which is the best option.
when HTTP_REQUEST { if { [HTTP::uri] starts_with "/Path1" } { HTTP::uri [string map {"/Path1/" "/"} [HTTP::uri]] pool /Partition/Name_Port2 } else { pool /Partition/Name_Port2 } }
Cheers, Victor