Forum Discussion

JoshBarrow's avatar
Oct 14, 2020

Landing URI Branch Rule

Is there a way to force landing URIs in APM to all lowercase or all uppercase? instead of doing something like this:

 

Expression: expr { [mcget {session.server.landinguri}] contains "/uri/" || [mcget {session.server.landinguri}] contains "/uri/*" || [mcget {session.server.landinguri}] contains "/URI/" || [mcget {session.server.landinguri}] contains "/URI/*"}

  • Hi JoshBarrow,

    Can you try this?

    expr { [string tolower [mcget {session.server.landinguri}]] contains "/uri/" }
  • Hi JoshBarrow,

    Can you try this?

    expr { [string tolower [mcget {session.server.landinguri}]] contains "/uri/" }