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

Sunny's avatar
Sunny
Icon for Nimbostratus rankNimbostratus
Apr 24, 2017

Need Irule for redirection

I am a Newbie for irules need help

 

I have a request to redirect host --->

 

Any pointers would be much appreciated.

 

1 Reply

  • when HTTP_REQUEST {
    if { ([HTTP::host] eq "www.f5.com") and ([string tolower [HTTP::uri]] eq "/dev") } {
    HTTP::respond 301 Location "http://www.f5.com/"
    }
    }
    

    Try something like the iRule provided above.