Forum Discussion
Tabish_Mirza_12
Nimbostratus
Jan 24, 2017irule to allow specific URL and block everything else.
Hi Folks,
I am looking to create an iRule that will allow only access to URl (https://test.com.ae/selfEnrollment) and block access to everything else.
https://test.com.ae/console
https://1....
nathe
Cirrocumulus
Jan 24, 2017There's a few ways of doing this but perhaps something as simple as this to start with:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "console" } {
drop
}
}
Would this work for you?
N
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