Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
code share

URI Keyword And HTTP Method Filtering

Problem this snippet solves:

Summary: iRule Used to filter requests that contain keywords and reject any HTTP Methods not listed

iRule to filter requests that have keywords in the uri. The URI is converted to lowercase and then decoded to prevent encoding tricks to circumvent the filter. It will also reject requests that use a HTTP Method other then the ones listed in the valid_methods class