Forum Discussion
mindo_152998
Nimbostratus
May 06, 2014Blocking a specific URL on a specific VIP with iRule
Hello All, I am fairly new to creating iRules, and have been trying to create an iRule for an application we are load balancing. Basically what i am trying to do is block a certain URL on a VIP t...
- May 06, 2014
Looks like you're doing a lower case string match against a string with an upper case character, hence it will never match:
[string tolower [HTTP::uri]] contains "/Pages/manageusers.aspx
Try changing the upper case P in pages to lower case and see if that fixes your issue.
Cory_50405
Noctilucent
May 06, 2014Looks like you're doing a lower case string match against a string with an upper case character, hence it will never match:
[string tolower [HTTP::uri]] contains "/Pages/manageusers.aspx
Try changing the upper case P in pages to lower case and see if that fixes your issue.
mindo_152998
Nimbostratus
May 06, 2014Doh!, that make a lot of sense. It is working now after changing that, Thank you very much!
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