22-Jul-2021 10:27
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"
}
}
=========================================================================
22-Jul-2021
11:46
- last edited on
04-Jun-2023
19:22
by
JimmyPackets
if { ([string tolower [HTTP::host]] eq "abc.domain.com") and ([HTTP::uri] eq "/")} {
22-Jul-2021 13:14