For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

BaltoStar_12467's avatar
Feb 25, 2015

BIG-IP : irule wildcard for redirect location

F5 BIG-IP Virtual Edition v11.4.1 (Build 635.0) LTM on ESXi

Are iRule wildcards smart enough to transfer across from a match-path to a redirect location ?

Does this work ?

switch -glob [string tolower [HTTP::host]] {
  "www.mysite.com" {
    switch -glob [string tolower [HTTP::uri]] {
      "/old-path*" {
        HTTP::respond 301 Location "/new-path*"
      }

8 Replies