Forum Discussion
Zulfeqar_Ahmed_
Nimbostratus
Dec 05, 2017Allow two URl and block all the remaining
Hello guys,
i want to allow only two uri's and block all the default.
example:
i want to allow https://abc.com/test/f2/count and https://abc.com/test/f2/less
and block all other urls on a specific virtual server.
please advise.
- HarshaPotharaju
Nimbostratus
when HTTP_REQUEST { if {[HTTP::uri] starts_with "/test/f2/count" || [HTTP::uri] starts_with "/test/f2/less" } { pool pool_https_abc log local0. "write something" } else {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