Forum Discussion
jkirankumar1993
Feb 06, 2018Nimbostratus
Irule to divert traffic - Not working
Can someone please review my code? rule jiradivertingtraffic{
when HTTP_REQUEST {
log local0. "Request: [HTTP::host]"
log local0. "Request: [HTTP::uri]"
log local0. "Request: [HTTP::path]"
i...
annliu
Feb 07, 2018Altostratus
firstly,class match need data group , secondly, not equals can be replaced by else.
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] equals "jiratest.corp.chartercom.com" } {
if { [HTTP::uri] contains "/rest"} {
pool JIRA-test-pool
}
} else {
if { [HTTP::path] equals "/login.jsp"} {
pool JIRA-test-pool
}
pool JIRA-test-external-pool
} }
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects