Forum Discussion
Mayur_Sutare
Jun 30, 2021MVP
Hi ,
You can try below irule. You need to put specific url in place of aws-url-path where you want to redirect matched requests.
when HTTP_REQUEST {
if {([HTTP::uri] starts_with "/x/y/") || ([HTTP::uri] starts_with " /xx/yy/") {
HTTP::redirect "https://aws-url-path"
} else {
pool pool-xyz-http
}
}
Hope it helps!