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, 2009when CLIENT_ACCEPTED {
if { [IP::client_addr] equals "219.254.86.x" } {
pool apache_webtier member 10.0.1.101:8080
}
}
when HTTP_REQUEST {
if { [HTTP::uri] contains "awstats/awstats.pl" } {
pool apache_webtier member 10.0.1.100:8080
}
if { [HTTP::uri] contains "web01" } {
pool apache_webtier member 10.0.1.101:8080
}
if { [HTTP::uri] contains "web03" } {
pool apache_webtier member 10.0.1.102:8080
}
if { [HTTP::uri] contains "web02" } {
pool apache_webtier member 10.0.1.100:8080
}
}
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