Yugandhar
Jul 18, 2018Nimbostratus
Reason for iRule Execution Error
Hi
Multiple URLs are pointing to the same Virtual Server IP but persistence of 600 secs is needed only for a few of them.
Configured the below iRule and applied to the VS but got an Execution error.
===================
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "access.testxyz45.com" or "abc.testxyz45.com" or "def.testxyz45.com" or "mail.testxyz45.com" } {
persist source_addr [IP::client_addr] 600
} else { }
}
=============
Could you please help as i am unable to figure out the error.
Thanks,
Yugandhar.