Forum Discussion
minow123_359638
Nimbostratus
Dec 31, 2018APM Web Portal Access URLs for iRules and SSO
Hey I am trying to publish this post on devcenteral but getting an error that the post was identified as spam “Content has been identified as spam. If this is not the case, please contact devcent...
Rico
Cirrus
Dec 31, 2018minow,
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.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
