How to perform a case-insensitive match of the requested URL path.

anfovaranfovar Member
edited August 7 in aFleX

Hello,

How can I perform a case-insensitive match for the requested URL path? For example:

when HTTP_REQUEST {
if { [HTTP::path] equals "/NotificationServer" } {
pool example_service-group
}
}

And a case-sensitive example is:

http://host/NotificationSERVER

Regards

Tagged:

Comments

  • mdunnmdunn Member ✭✭✭

    Could you use a "tolower" function on the HTTP::path and then do equals "/notificationserver"?

Sign In or Register to comment.