Rack::Static severly broken in 1.4.0

26 views
Skip to first unread message

Erik Johansson

unread,
Jan 3, 2012, 3:48:25 AM1/3/12
to rack-...@googlegroups.com
I'm all for new features, but the backwards breaking change in Rack::Static goes beyond me.

use Rack::Static, :urls => ['/css/', '/graphics/', '/js/'], :root => "public"
That line has been sitting in my dev environment for the last year, working like a charm, upgraded Rack and bam, now all requests are looking for index.html.

To me it makes absolutely no sense that '/' is mapped to index.html by default, it should only be relevant if you've specified :index.
Why is index.html the default setting?

James Tucker

unread,
Jan 3, 2012, 9:59:39 AM1/3/12
to rack-...@googlegroups.com
That's a fair question, please file a bug and I will get to it when I have some more time.
Reply all
Reply to author
Forward
0 new messages