On Apr 16, 2009, at 2:46 PM, Jonathan Rochkind wrote: > Is there any way to write a route that delivers a static resource? > > For some reason something (looks like Google Toolbar according to the > user-agent string) is requesting favicon.ico at all sorts of weird > places, not just at the root location where favicon.ico belongs, but > at > /someAction/favicon.ico, etc. > > I'd like to direct these all to the actual favicon.ico, to keep them > out > of my error logs. > > If I can't do it in routes, I guess I can do it in apache. > > Thanks for any help! > -- Do you have something in your layout that says to find "favicon.ico" that could just be changed to "/favicon.ico" perhaps?
-Rob Rob Biedenharn http://agileconsultingllc.com [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

