Forum Discussion
Surgeon
Feb 07, 2018Ret. Employee
I would suggest.
when HTTP_REQUEST {
log local0. "Request: [HTTP::host]"
log local0. "Request: [HTTP::uri]"
log local0. "Request: [HTTP::path]"
if { [string tolower [HTTP::host]] equals "jiratest.corp.chartercom.com" } {
if {[string tolower [HTTP::uri]] contains "/rest"} {
pool JIRA-test-pool
}
}
elseif { [string tolower [HTTP::path]] equals "/login.jsp"} {
pool JIRA-test-pool
}
else {
pool JIRA-test-external-pool
}
}