Forum Discussion
Angelo
Jul 13, 2012Nimbostratus
I-rule not working
Hi Guys i have a irule but I'm not sure if it is work it's to send three URL to three different pools. I'm not getting errors on the i-rule but I'm not getting out to the pool members when connect. t...
nitass
Jul 13, 2012Employee
can you put some logging?
e.g.
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"URI 1" { pool pool1 }
"URI 2" { pool pool2 }
"URI 3" { pool pool3 }
}
}
when HTTP_RESPONSE {
log local0. "[IP::client_addr]:[TCP::client_port] -> [clientside {IP::local_addr}]:[clientside {TCP::local_port}] -> [IP::remote_addr]:[TCP::remote_port]"
}
}
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