Rid of bots
Problem this snippet solves:
This snippet gets rid of those annoying bot pests
How to use this snippet:
Copy and share
Code :
# ---- String data group ---- 02 ltm data-group internal /Common/bots { 03 records { 04 fast { } 05 googlebot { } 06 msnbot { } 07 scooter { } 08 slurp { } 09 teoma { } 10 } 11 type string 12 } 13 14 15 # ---- iRule ---- 16 when HTTP_REQUEST { 17 if { [class match [string tolower [HTTP::header User-Agent]] contains bots] } { 18 pool slow_webbot_pool 19 } else { 20 pool default_pool 21 } 22 }
Published Aug 19, 2017
Version 1.0No CommentsBe the first to comment