iRule Recipe 1: Single URL Explicit Redirect
Series Introduction
Let's face it: there aren't many people out there who have extensive experience with Tcl. Since iRules is a Tcl dialect, that means that finding a solid iRules solution can be ...
Updated Jun 06, 2023
Version 2.0VernonWells
Employee
Joined August 23, 2012
Manishvashishta
Dec 20, 2016Nimbostratus
Can someone please validate below iRule? when HTTP_REQUEST { if { [string tolower [HTTP::host]] ends_with ".abc.com" } { HTTP::respond 301 Location "https://eservices-t.abc.com/irj/portal/abc[HTTP::uri]" } if { [string tolower [HTTP::host]] ends_with ".def.com" } { HTTP::respond 301 Location "https://eservices-t.def.com/irj/portal/def[HTTP::uri]" }