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...
Kevin_Stewart
Employee
Nov 13, 2013Would it also make sense to just evaluate the URI and the client address?
when HTTP_REQUEST {
if { ( [string tolower [HTTP::uri]] starts_with "/somethingspecific" ) and not ( [class match [IP::client_addr] equals PoolOfAllowedAddresses] ) } {
drop
or HTTP::respond 200 content "Not allowed HTML content"
}
}
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