Forum Discussion
Andy_McGrath
Dec 15, 2017Cumulonimbus
HTTP_REQUEST { Log debug to /var/log/ltm | 1=yes, 0=no set debug 0
Identify the requested page and store in a variable
set httppath [string tolower [HTTP::path]]
Traffic decision based on the requested page's file extension
switch -glob $httppath {
"/graphql*"
{
if { $debug } { log local0. "**************************************************************" }
if { $debug } { log local0. "START" }
if { $debug } { log local0. "Path: $httppath" }
pool pool_name
}
default {
pool defaultPool
}
}
}