pagure: drop Bytespider crawler

This crawler is hitting pagure.io really hard.
Sent it a 403 and block in robots.txt

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-05-01 12:19:43 -07:00
parent 5f2d78a83c
commit 4a3da58a9e
2 changed files with 6 additions and 0 deletions

View file

@ -138,6 +138,10 @@ MaxConnectionsPerChild 1000
# RewriteEngine On
# RewriteCond %{REQUEST_URI} ^/fedora-web/websites$
# RewriteRule .* - [F]
# Reject Bytespider spider
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} .*Bytespider.*
RewriteRule .* - [F]
<Location /apache-status>
SetHandler server-status

View file

@ -7,4 +7,6 @@ Disallow: /login
Disallow: /*/raw
Disallow: /*/blob
Crawl-Delay: 10
User-agent: Bytespider
Disallow: /
{% endif %}