From: James Tucker <jftucker@gmail.com>
To: rack-devel@googlegroups.com
Subject: Re: Rack::Static severly broken in 1.4.0
Date: Tue, 3 Jan 2012 10:59:39 -0400 [thread overview]
Message-ID: <E17A549F-AFD7-45E1-9E83-CDBC613260E7@gmail.com> (raw)
In-Reply-To: <5707368.195.1325580505549.JavaMail.geo-discussion-forums@yqbu38>
That's a fair question, please file a bug and I will get to it when I have some more time.
On Jan 3, 2012, at 4:48 AM, Erik Johansson wrote:
> 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?
prev parent reply other threads:[~2012-01-03 14:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-03 8:48 Rack::Static severly broken in 1.4.0 Erik Johansson
2012-01-03 14:59 ` James Tucker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://groups.google.com/group/rack-devel
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E17A549F-AFD7-45E1-9E83-CDBC613260E7@gmail.com \
--to=rack-devel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).