Forum Discussion
Daniel_S_135288
Nimbostratus
Jun 25, 2015catch bots
hey guys
can some one explain me why my irule does not work
when LB_SELECTED {
set uagent [string tolower [HTTP::header User-Agent]]
if { [matchclass $uagent contains datagroup_crawler] } {
...
nathe
Cirrocumulus
Jun 25, 2015Hey Daniel, first couple of thoughts. LB_SELECTED is not a valid event for Http::header. See https://devcentral.f5.com/wiki/irules.HTTP__header.ashx
Also, are you running tmos v10 as matchclass was deprecated.
Hope this helps,
N
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