summaryrefslogtreecommitdiffstats
path: root/apache.txr
diff options
context:
space:
mode:
Diffstat (limited to 'apache.txr')
-rw-r--r--apache.txr4
1 files changed, 3 insertions, 1 deletions
diff --git a/apache.txr b/apache.txr
index 81b78ec..3a715f4 100644
--- a/apache.txr
+++ b/apache.txr
@@ -9,7 +9,9 @@
@ (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"))))
+@ (elif (and (not (memqual err '("200" "206" "301" "302" "304")))
+ (not (or (mequal (short-suffix uri) "ico" "jpg" "png" "gif")))))
+)))
@ (bind points 1)
@ (else)
@ (bind points 0)