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:
parent
5f2d78a83c
commit
4a3da58a9e
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -7,4 +7,6 @@ Disallow: /login
|
|||
Disallow: /*/raw
|
||||
Disallow: /*/blob
|
||||
Crawl-Delay: 10
|
||||
User-agent: Bytespider
|
||||
Disallow: /
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue