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...
nathe
Jul 13, 2012Cirrocumulus
Angelo
Think there's a rogue } at the end. Try this:
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]"
}
As for the second part, as Nitass said, logging is a good starting point.
Hope this helps,
N
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