[Zope] ZServer uncaptured python exception

Chris Withers chris at simplistix.co.uk
Wed Apr 2 05:50:56 EDT 2008


Jens Vagelpohl wrote:
> 
> Trusting that bots actually care about or respect robots.txt won't get 
> you very far. If all else fails I suggest you look at your logs to find 
> out what IPs or IP ranges those bots come from and block them at the 
> firewall level, using e.g. iptables if you're on Linux. This is a very 
> simplistic invocation:
> 
> iptables -A INPUT -s <source-IP> -j DROP
> 
> At least that way you gain some breathing room to come up with a less 
> constrictive solution.

Also very effective against errant Google Search Appliances in intranet 
situtations ;-)

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list