Forum Discussion
veredgf_96123
May 17, 2018Nimbostratus
irule for whitelist under certain path
Hi,
I am looking for an irule that will do the following - prevent access to all locations under a certain path - i.e., anything under should be block. and I want to have an exception group of ...
Lee_Sutcliffe
May 17, 2018Nacreous
Create a datagroup to store your exceptions and use an iRule like this
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/yyy"} {
if {!([class match [HTTP::uri] contains "exceptions_datagroup"])} {
reject
}
}
}
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