Hi chungyu,
A couple of things.
Is your ADC on v9 or v10?
How are you seperating the external file entries? Are you using := or ";" or "," etc. If you are then did you make sure you defined that in the datagroup you defined in the GUI?
Have you tried changing your code to the following
v9.x
when HTTP_REQUEST {
if { [matchclass [HTTP::uri] contains $Drupal} {
pool CCS_Drupal
} else {
pool CSS_Webnode
}
}
or
v10
when HTTP_REQUEST {
if { [class match [HTTP::uri] contains Drupal] } {
pool CCS_Drupal
} else {
pool CSS_Webnode
}
}
I hope this helps
Bhattman