Forum Discussion
Greg_33932
Nimbostratus
Apr 17, 2015Need an extra pair of eyes on my irule please- Block access to specific uri path
I'm attempting to prevent users from accessing a folder/page externally and it appears that this blocks for most, however the app team says that they can still get to it sometimes. I cannot reproduce...
jdam_41848
Altocumulus
Apr 17, 2015Hi, I have discounted your logging so in basic terms, couldn't you do something more simple like...
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] contains "/uricodeunwantedbyexternal/" } { HTTP::redirect "https://www.xyz.com" } }
If you have a default pool you shouldn't need the pool statement. Also, removing the set statements should free up resources.
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