Forum Discussion
adrianglendinning
May 21, 2024Nimbostratus
redirect irule
Hi, We are moving off A10s to F5s and we have an old a10 aflex rule which redirects certain traffic to a particular pool. when HTTP_REQUEST { if { [HTTP::uri] contains "<xyz>"} { pool test-...
AaronJB
May 23, 2024SIRT
The syntax you have there should work without modification; A10's language is, how can I put it, eerily similar to iRules.
I would strongly advise you (and anyone else using HTTP::uri) to use [HTTP::uri -normalized], though, to avoid an attacker being able to evade your iRule logic by encoding, escaping or inserting path traversal characters: https://clouddocs.f5.com/api/irules/HTTP__uri.html
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