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