mbrunyak1
Jun 24, 2022Nimbostratus
iRule
I have the below http iRule. Moving url to https and need to convert iRule for https use.
when HTTP_REQUEST {
if {[HTTP::header X-Forwarded-For] != ""} then {
persist uie [lindex [ split [lindex [HTTP::header values X-Forwarded-For] 0] "," ] 0]
} else {
persist uie [IP::client_addr]
}
}
You can see more info about the HTTP header X-Forwarder-For in this link:
https://support.f5.com/csp/article/K4816
Did you receive any error in /var/log/ltm when you try to access the new url ?
In SSH execute
tailf /var/log/ltm and test the application