Tuesday, 28 January 2020

HTTP/Path Redirection code/iRules in F5



when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "hostname" and [HTTP::path] eq "/path" } {
HTTP::respond 301 Location "https://link"
}
}


when HTTP_REQUEST {
HTTP::redirect "https://link/"
}

No comments:

Post a Comment

What are Sticky Clients ?

What are Sticky Clients ? CREDIT : http://wifinigel.blogspot.com/2015/03/what-are-sticky-clients.html One term you'll often hear banded ...