Forum Discussion
Rico
Dec 31, 2018Cirrus
minow,
This iRule code has a small error.
if {"[HTTP::host][HTTP::path]" eq "/api/account/login"}{
This piece of code is trying to match the host and path to just the path. I would suggest changing it to this.
if {[HTTP::path] eq "/api/account/login"}{
Other than that error, the code seems to work fine for me. If you have 'f5-w-687474703a2f2f3137322e31392e34372e3430$$' set up as a static route, you should be able to use that to trigger your iRule, or if it is a dynamic path name, you could use 'contains' instead of 'eq' to trigger a conditional.
Let me know if you have any other questions.