Forum Discussion
nrelihan_68143
Aug 03, 2011Nimbostratus
Thanks for the help Michael,
So yes as my group is quite large I think ill create an external data group. So is the following correct?
/config/bigip.conf
class bots {
type string
filename "/var/class/bots.class"
}
/var/class/bots.class
"bots1"
"bots2"
"bots3"
In the irule i can just call this datagroup "bots"?
if { [matchclass [string tolower [HTTP::header User-Agent]] contains $::bots] } {
...
thanks,
Neil