Forum Discussion

Samir_Jha_52506's avatar
Samir_Jha_52506
Icon for Noctilucent rankNoctilucent
Apr 11, 2015

iRule help require

Hi, I don't see any mistake in this iRule. can any one advice?

when HTTP_REQUEST {

set RequestedPath [string tolower [HTTP::path]]

switch $RequestedPath {

  "/boo" {
     HTTP::redirect "http://xyz.com"
  }
  "/manag" {
     HTTP::redirect "http://xyz.com"
  }
  "/check" {
     HTTP::redirect "http://xyz.com"
  }

} }

4 Replies