iRule to Redirect Traffic as Required – F5 Networks

  1. Use the Below snippet to rewrite the http request.
  2. Associate it with the required VS.

when HTTP_REQUEST {
switch -glob [HTTP::uri] {
“/apicall*” { pool MIFE_DEP_POOL_8243}
“/store*” { pool MIFE_DEP_POOL_9444}
“/publisher*” { pool MIFE_DEP_POOL_9444}
“/manage-service*” { pool MIFE_DEP_POOL_9444}
}
}

Was this article helpful?

Related Articles

Leave A Comment?