Forum Discussion
paul_79097
Nimbostratus
Sep 14, 2009Unable to add a rule
hello there,
I am trying to add a rule to go to a specific node in a pool when specific ip address is connected.
when HTTP_REQUEST {
if {[IP::addr [IP::remote_addr] equals 216...
paul_79097
Nimbostratus
Sep 14, 2009i was thinking the same thing but first of all, the HTTP_REQUEST won't match in my case and second i added a log in side the
if { [IP::client_addr] equals "219.254.86.x" } {
set client "[IP::client_addr]"
log local0.info " huh $client"
pool apache_webtier member 10.0.1.101:8080
}
and nothing shows in the log
the funny thing is if i make that special REQUEST and match one of those conditions and have that log statement inside it - it will log the ip just fine and it would be the one i need :-/
this is driving me crazy
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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