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...
Raj_Bhatia_1778
Nimbostratus
Mar 29, 2017when HTTP_REQUEST priority 1 {
if {[HTTP::path] starts_with "/webaccess"} {
log local0. "[HTTP::path] Allowed.."
} else {
log local0. "[HTTP::path] not Allowed.."
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