Quantcast
Channel: Shoaib Merchant – Networkology!
Viewing all articles
Browse latest Browse all 25

F5 iRules – Unconditionally redirect to another VIP based on host header content and initial connection stays intact

$
0
0
when HTTP_REQUEST {     if { [string tolower [HTTP::host]] equals "site2.lab.com" } {         HTTP::redirect "http://site3.lab.com"     } } With this iRule, the initial connection to site2.lab.com is not closed and kept in memory until it times out. Check out the below output from curl which validates the same. shoaib@ubnsrv01:~$ curl -ivL http://site2.lab.com * Rebuilt […]

Viewing all articles
Browse latest Browse all 25

Trending Articles