I've had a rash of exception notifications come through from one of my 
Rails apps lately.

A ActionController::MethodNotAllowed occurred in application#index:
>   Only put and delete requests are allowed.


The culprit appears to be this:

HTTP_USER_AGENT  : Mozilla/5.0 (compatible; Genieo/1.0 
http://www.genieo.com/webfilter.html) 

You can click the link to see what Genieo is (tl;dr: widely panned as 
crapware).  It looks to me like one of my users has this crapware on their 
computer, had it running when they interacted with my app at a URL that 
should take a PUT, and now Genieo keeps hitting that link with a GET, 
triggering the error.

Looking for ways to prevent this it seemed that putting a disallow for 
Genieo in robots.txt would solve it.  Here's my robots.txt file:

# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use 
the robots.txt file

#

# To ban all spiders from the entire site uncomment the next two lines:

User-Agent: Genieo

Disallow: /


After redeploying I'm still getting the hits but don't understand why.  I've 
put a request into their support to figure this out, but I'm curious if anyone 
else here has dealt with a problem like this in a similar fashion.


Cheers,


Chris

-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to