Bloquear un spider malvado con .htaccess 🥇 Foro SEO, CEO y Publicidad |
Quote:: |
cd /var/www/vhosts/midominio.com/statistics/logs tail -200 access_log |
Quote:: |
74.129.176.213 - - [12/Sep/2010:15:35:33 +0200] "GET /index.php?name=Your_Account&profile=54753 HTTP/1.1" 200 4539 "-" "Mozilla/5.0 (compatible; 008/0.83; www.80legs.com/spider.html) Gecko/2008032620" 24.23.117.201 - - [12/Sep/2010:15:35:34 +0200] "GET /foros.php?p=2022478 HTTP/1.1" 200 11844 "-" "Mozilla/5.0 (compatible; 008/0.83; www.80legs.com/spider.html) Gecko/2008032620" 74.129.176.213 - - [12/Sep/2010:15:35:35 +0200] "GET /foros.php?p=2024284 HTTP/1.1" 200 11899 "-" "Mozilla/5.0 (compatible; 008/0.83; www.80legs.com/spider.html) Gecko/2008032620" 74.129.176.213 - - [12/Sep/2010:15:35:36 +0200] "GET / HTTP/1.1" 200 10685 "-" "Mozilla/5.0 (compatible; 008/0.83; www.80legs.com/spider.html) Gecko/2008032620" |
Quote:: |
RewriteCond %{HTTP_USER_AGENT} (www.80legs.com/spider.html) RewriteRule ^(.*)$ - [F] |
Quote:: |
service httpd restart |
Todas las horas son GMT + 1 Hora