Sinistrad_29710
Jun 22, 2017Nimbostratus
Multiple conditions in iRule
Hi,
I'm trying to do multiple conditions in my iRule, however I only have the first condition working, the iRule doesn't go through the second condition:
when HTTP_REQUEST {
if { [HTTP::host] contains "euhreka.apps.com" }{
HTTP::redirect "https://hr.entreprise.net/tp-hr2/modules/euhreka/euHReka.htm"
}
if { [HTTP::host] contains "euHReka.hr.com" }{ HTTP::redirect "; } }
Can you please advise what should I change on my iRule to make it works ?
Thank you