diff options
Diffstat (limited to 'apache.txr')
-rw-r--r-- | apache.txr | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,8 +6,8 @@ @ (and) @ (if (search-regex agent #/Googlebot|bingbot|baidu/)) @ (bind points nil) -@ (elif (search-regex agent - #/Ezoom|[Bb][Oo][Tt]|[Ss]pider|[Cc]rawler|[Yy]andex|coccoc/)) +@ (elif (search-regex (downcase-str agent) + #/ezoom|bot|spider|crawler|scan|yandex|coccoc|github|python/)) @ (bind points 9) @ (elif (not (memqual err '("200" "206" "301" "302" "304")))) @ (bind points 1) |