Forum Discussion
Lee_Sutcliffe
Feb 19, 2018Nacreous
Almost, you just need to use
class match
to lookup the DG:
when HTTP_REQUEST {
if {[class match [string tolower [HTTP::query]] contains "dglist"]} {
HTTP::redirect "http://app.domain.com[HTTP::uri]"
} else {
pool app_pool
}
}