I get lots of stuff in my logs like:
ActionController::UnknownHttpMethod (PROPFIND, accepted HTTP methods
are get, head, put, post, delete, and options):

I'd like to reject this stuff before it hits rails and clogs passenger
and then the error log.

How can I make Apache reject some urls/requests before passing them on
to Rails.

I'm sure I can stick something in .htaccess with mod_rewrite or
something but I dont want to do it by trail and error if there is a
good recipe somewhere.

It wont get all of them but I get hundreds of attempts at /
manager.html and /phppgadmin and stuff like that that fills the rails
log and obscures more valuable log entries.

Cheers
George

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to