On Fri, Jun 5, 2009 at 10:06 PM, doug<[email protected]> wrote:
>
> The result that I'm trying to achieve is that URLs that begin with '/
> static' do not get mapped.
>
> My thought is that it sure would be nice if I could somehow say that
> if a URL begins with '/static' simply abandon any further routing
> tests.
>
> How can I best handle this?
>
> Thanks for any input.
>
>        ... doug
>


Most rails websites are fronted by a different webserver that acts as a proxy.
Set that proxy to handle static content and not even pass it to rails.

Andrew Timberlake
http://ramblingsonrails.com

http://MyMvelope.com - The SIMPLE way to manage your savings

--~--~---------~--~----~------------~-------~--~----~
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