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
I am an F5 Solutions Architect for Service Providers in the Americas, focusing on Virtualization, SP protocols (Diameter, GTP, DNS) and programmability.
Prior to joining F5, I worked as a Wi-Fi Network Engineer for a large U.S. public University, as an Operations Engineer, a network management Software Engineer, and as a Technical Trainer.Manishvashishta
Nimbostratus
Dec 20, 2016Can 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]" }