Forum Discussion
sathish_2826
Nimbostratus
Jan 03, 2020Security headers irule issue
Hi there, i have been trying to apply an Irule to block requests for a URL when the domain is other than the ones allowed in the below rule, when HTTP_REQUEST { switch -glob [HTTP::header "R...
Yoann_Le_Corvi1
Cumulonimbus
Jan 03, 2020Hi
I do not this switch -glob synthax is correct (with | to match any of the headers). You will probable have to use if, or to concatenate the thress headers before you do your comarison, taking care of input validation as thos can be altered by the client.
If I have a few minutes this afternoon, I'll try to provide you a detailed solution.
Yoann
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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