Forum Discussion
EddieJK_26590
Nimbostratus
9 years agoHow do you block empty user-agents?
Hi,
I want to create an iRule to block empty user-agents from hitting our web site instead of letting IIS do it. I've read several posts and came up with this one. Is this ok?
...
EddieJK_26590
Nimbostratus
9 years agoI changed it to the following below, but still have the same error.
when HTTP_RESPONSE { if { [HTTP::header exists User-Agent]} { if { [HTTP::header User-Agent] equals "" } { reject } }
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
