Just refreshed the screen to post my suggestion and Richard had beaten me to it ;-)
Think a curly brace is missing. Here's mine anyway:
when HTTP_REQUEST {
if { [class match [IP::client_addr] eq api.network.list] } {
switch -glob [string tolower [HTTP::uri]] {
"/pss-alerts*" -
"/pss-forms*" -
"/pss-reports*" -
"/pss-messaging*" {
pool rec.utt.pool
}
default {
pool api.utt.pool
}
}
}
if { [class match [IP::client_addr] ne api.network.list] } {
switch -glob [string tolower [HTTP::uri]] {
"/pss-alerts*" -
"/pss-forms*" -
"/pss-reports*" -
"/pss-messaging*" {
pool rec.utt.pool
}
default {
reject
}
}
}
}
At least we're both on the same page!
N