Forum Discussion
tnastars_92934
Nimbostratus
Feb 02, 2010Help With IRule to limit access via an address data group
Hello,
I have created the below iRule. I am trying to limit access to a URL based on a specific URI, but allow all traffic to any other URI going to the virtual server. My main questio...
tnastars_92934
Nimbostratus
Feb 02, 2010Sorry Hoolio I copied an old version of my iRule above. Is this what you are suggesting I should do:
when HTTP_REQUEST {
if { [HTTP::path] starts_with "/Foo/"} {
if { not [matchclass [IP::client_addr] equals $::Foo_IPs] } {
HTTP::respond 403 content "403 - Forbidden" }
}
}
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
