Forum Discussion
Luis_Melendrez
Altostratus
Mar 28, 2017iRule allow specific URI and block any other
Hello
I am trying to create an irule that will allow justanexample.com/webaccess but be able to block any other URI such
justanexample.com/gateway
justanexample.com/admin
justanexample.com...
Vijay_E
Cirrus
Mar 28, 2017Try:
When HTTP_REQUEST {
if { ([HTTP::host] eq "justanexample.com") and (not([string tolower [HTTP::uri]] eq "/webaccess")) } {
reject
}
}
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