My site is formerly a PHP application. Spammers loved to post comments
on it. Now that I''m on rails and have a better setup the spammers
can''t
get through, but that doesn''t stop them from trying. On occasion my
rails app can''t handle the requests and crashes (I thought this was
fixed?). Can somebody help me figure this out? Here is the production
log just before the crash:
Processing Base#index (for 62.206.85.61 at 2006-09-06 07:35:55) [POST]
Session ID: b145efed009378482bafb5fdcfee6b56
Parameters: {"comment_subject"=>"plus size swimwear",
"submit"=>"Submit comment\r\n\r\n",
"comment_name"=>"swimwear",
"comment_text"=>"<a
href=http://*--this url removed for this post --*>plus
size swimwear</a>
["url"=http:/*--this url removed for this post --*]",
"comment_email"=>"swimwear-size-XkCM6HPkpmo@public.gmane.org",
"store_id"=>"2"}
ActionController::RoutingError (Recognition failed for
"/comment2.php"):
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/routing.rb:522:in
`recognition_failed''
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/routing.rb:512:in
`recognize!''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in
`dispatch''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in
`process_request''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in
`process!''
/usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi''
/usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in
`process!''
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in
`process!''
/var/www/buyindie/public/dispatch.fcgi:24
Is there some way I should route all .php requests back to / or
something? I''m pretty sure I''m using the latest gems.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---