Forum Discussion
Brian_Mayer_841
Nimbostratus
Aug 19, 2008Conditional logic based on source IP
Hi guys,
We'd like to implement an iRule that triggers on the presence of two or three specific strings in the URI. When any of the strings are found, we next want to check the source ...
Brian_Mayer_841
Nimbostratus
Aug 26, 2008I've simplified the iRule a lot and it still doesn't work as expected:
when HTTP_REQUEST {
if {[matchclass [HTTP::uri] contains "/init/"]}{
discard
}
}
That should discard any URI with /init/ but it lets it through.
Any ideas?
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