rack-static-if-present 0 ruby Rubygems

Like Rack::Static. Except only if there is a static file to serve.

3 years after MIT

= Rack Static If Present

Like Rack::Static. Except only if there is a static file to serve.

== Use

use Rack::StaticIfPresent, :urls => ["/"], :root => "public"

This would serve files in all directories from public if they exist, or continue down the middleware chain if they don't.

== Copyright

Copyright (c) 2009 Sam Schenkman-Moore. See LICENSE for details.

Related Repositories

rack-oauth2-server

rack-oauth2-server

LOOKING FOR MAINTAINER — OAuth 2.0 Authorization Server as a Rack module ...

rack-zippy

rack-zippy

Rack middleware for serving gzip files ...

rack-coffee

rack-coffee

serve up coffeescript from rack middleware ...

rack-page_caching

rack-page_caching

Rails page caching implemented as a Rack middleware ...

rack-oauth2-server

rack-oauth2-server

OAuth 2.0 Authorization Server as a Rack module ...


Top Contributors

samsm burningTyger

Releases

-   v0.3.0 zip tar
-   v0.2.1 zip tar
-   v0.2.0 zip tar