Forum Discussion
LTM Policy: Wildcard for HTTP Header value
Hello,
I don't think that regex are supported with Policies, you can solve it with an iRule.
Check this topic below that notify that regular expression is not supported in policy:
https://devcentral.f5.com/questions/using-regex-in-policy-rule-condition
https://devcentral.f5.com/questions/using-regex-in-policy-rule-condition
As i told you, you can do it with an Irule (let me now if you need help, but it's better that you do it yourself, up to skill, and it's more simple).
If you want use Policy there are reliable solutions but a little dirty :-)
you can create your condition like that: HTTP Header named "toto" begin with "you can put a random value that will never match"...
But for this use case i advise you to use an Irule...
Regards,
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
