KathysKode-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Mar-07 14:31 UTC
Search Engines are throwing ''illegal'' SHOW requests?
Now that I''ve finally got all of my websites deployed I find interesting Exception_Notification messages being generated when the ''spiders'' ask for illegal requests on my website. For example: I have a nested data structure whereas forums belongs to forcats. So a request through my application is http:\\www.websitename.com\forcats \1\forums\6. The search engines are throwing requests at me like: http:\\www.websitename.com\forums\6. My traditional SHOW action looks like this; def show @forum = @forcat.forums.find(params[:id]) respond_to do |format| format.html end end Do you have any idea how I can protect against this? I am grateful for your reply. Kathleen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---