Forum Discussion
Marcel_Jorba_62
Jul 26, 2011Nimbostratus
How to block a specific URL
My setup is balancing 2 servers for all ports.
These servers host a web server
I need to block a very specific URL on these servers, blocking it or forwarding the requester user to...
Robert_Pagano_7
May 06, 2013Nimbostratus
I hope it's not bad form to jump in here but I have a follow-up question to this discussion ...
In Bhattman's suggestion about using multiple patterns in a "switch" command, what would happen if the switch command could not match any of the patterns? Would it allow the connection to proceed? I've read up on the "switch" command and see that there is a "default" keyword so that you can specify what you want to happen if it can't find a match. But, what happens if you don't explicitly specify a "default" action? In my case, I want to drop (or reject?) the connection if the URI matches or contains any of three strings; otherwise, the connection should be allowed.
Thanks in advance for any guidance you can offer!
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