franktruong3
Jul 22, 2021Nimbostratus
irule: redirect to different paths with same host.
Hi,
I'm new at F5 and iRule.
I try to redirect from root location to different path on the same node.
https://abc.domain.com -> https://abc.domain.com/path
What is wrong with this rule?
=================iRule===================================================
when HTTP_REQUEST {
if { ([string tolower [HTTP::host]] eq "abc.domain.com") } {
HTTP::redirect "https://abc.domain.com/path"
}
}
=========================================================================