kmtmt_51646
Oct 04, 2012Nimbostratus
Request URL matching by Data Group
Dear forum members,
It's my first time to play with Data Group. I created it from GUI like follows:
========
ltm data-group internal /Common/addresslist {
records {
address1 {
data www.abc.com
}
address2 {
data www.abcd.com
}
address3 {
data www.abcde.com
}
}
type string
}
========
and my iRule looks like this:
========
when HTTP_REQUEST {
if { [class match [HTTP::host] equals addresslist] }{
pool pool-1
return
}
}
========
I access to Virtual Server with hostname www.abc.com or www.abcd.com but it's not sent to the pool-1 at all.
pool-1 is accessble when I don't use this iRule, so the issue should be on the iRule or Data Group... Does anyone have a clue?
Thank you in advance,