No commit activity in last 3 years
No release in over 3 years
Not much to explain. Not a lot of code, but wanted it packaged up for easy use/deployment.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

> 1
 Project Readme

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 © 2009 Sam Schenkman-Moore. See LICENSE for details.