Forum Discussion

mindo_152998's avatar
mindo_152998
Icon for Nimbostratus rankNimbostratus
May 06, 2014
Solved

Blocking 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...
  • Cory_50405's avatar
    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.