aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2025-05-04 16:40:00 +0300
committerJani Välimaa <wally@mageia.org>2025-05-04 16:40:00 +0300
commit3b8641a4fa11f79f94aee1bef6a918eaa1f272c0 (patch)
treeb7f3aac242cf9cf11de0a29a8d54a66f7d79ece1
parent14920b60d5ed0358cfe5e5c556a11867adb229f7 (diff)
downloadpuppet-master.tar
puppet-master.tar.gz
puppet-master.tar.bz2
puppet-master.tar.xz
puppet-master.zip
Block PrestoHEADmaster
Most probably Presto is not used as user agent in browsers used by potential users of Mageia.
-rw-r--r--modules/apache/templates/vhost_fcgid.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/apache/templates/vhost_fcgid.conf b/modules/apache/templates/vhost_fcgid.conf
index 8c40eaed..8fc8da5c 100644
--- a/modules/apache/templates/vhost_fcgid.conf
+++ b/modules/apache/templates/vhost_fcgid.conf
@@ -18,7 +18,7 @@ RewriteRule . - [R=403,L]
# bunch). "Expensive" is considered to be most operations other than showing a
# directory or downloading a specific version of a file.
RewriteCond %{QUERY_STRING} pathrev=|annotate=|view=log|r1=
-RewriteCond %{HTTP_USER_AGENT} "Googlebot|bingbot|Yahoo! Slurp|ClaudeBot|Amazonbot|YandexBot|SemrushBot|Barkrowler|DataForSeoBot|PetalBot|facebookexternalhit|GPTBot|ImagesiftBot|spider|Spider|iPod|Trident"
+RewriteCond %{HTTP_USER_AGENT} "Googlebot|bingbot|Yahoo! Slurp|ClaudeBot|Amazonbot|YandexBot|SemrushBot|Barkrowler|DataForSeoBot|PetalBot|facebookexternalhit|GPTBot|ImagesiftBot|spider|Spider|iPod|Trident|Presto"
RewriteRule . - [R=403,L]
# Block abusive spiders by IP address who don't identify themselves in the