I am currently developing a Rack-based application and want to redirect all file requests(e.g. filename.filetype) to a specified folder.
Rack::Static only supports f
An update, the latest Rack implementation allows you to use Rack::Static
Example:
use Rack::Static, :urls => ["/media"]
Will serve all static resources under ./media folder relative to config.ru location.
./media
config.ru