Bots mit htaccess aussperren

Aus HS Syswiki
Wechseln zu: Navigation, Suche
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} BOTXY
RewriteRule ^.*$ - [F] 

Bing Bot Ranges:
iptables -I INPUT -s 207.46.0.0/16 -j REJECT --reject-with icmp-host-unreachable
iptables -I INPUT -s 157.54.0.0/15 -j REJECT --reject-with icmp-host-unreachable
iptables -I INPUT -s 157.56.0.0/14 -j REJECT --reject-with icmp-host-unreachable
iptables -I INPUT -s 157.60.0.0/16 -j REJECT --reject-with icmp-host-unreachable
iptables -I INPUT -s 65.52.0.0/14 -j REJECT --reject-with icmp-host-unreachable

sh ipdrop_whitelist.sh
/etc/init.d/apache restart
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Navigation
Werkzeuge