Forum Discussion
david0512_20548
Nimbostratus
Nov 13, 2013drop incoming http requests to URI if external IP
Hi Guys
New to i-rules so would appreciate some pointers.
I have a situation where we have a pool of application servers that serve both private and public content (URIs). This pool is shar...
david0512_20548
Nimbostratus
Nov 13, 2013Sorry guys...formatting went to pot...heres the i-rule
when HTTP_REQUEST {
if { [HTTP::host] equals "www.website.com" and [HTTP::uri] equals "/somethingspecific/index.html" and [matchclass [IP::remote_addr] equals $::PoolOfAllowedAddresses ]) } {
pool poolofallowedservers
}
else {
drop
}
}
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