rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: cwe@pixum.com
To: rack-devel@googlegroups.com
Subject: Serving static files from directories whose name includes a dot
Date: Fri, 3 May 2013 07:08:55 -0700 (PDT)	[thread overview]
Message-ID: <31932b53-0035-4a4a-93c9-63438e36ac85@googlegroups.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1556 bytes --]

Hello everyone,

i'm trying to serve static files - e.g. 
/assets/js/handlebars.js/handlebars.min.js - via rack server.
Requests to any files in these directories are answered by 404 responses 
from thin or puma.

I asked @macournoyer (creator of thin) on twitter and he suspected a bug in 
Rack::File.
Could this be possible?

As i'm new to the whole ruby ecosystem and don't really know how to debug 
this (altering 
file.rb followed by recompiling and installing the rack gem didn't change 
anything apparently).
Any tips on how to proceed are welcome.

Greetings
Christoph

-- 
*Pixum* - Immer die *schönsten* Bilder
-----------------------------------------------------------------------------------------------------------
*Pixum* ist eine geschützte Marke der
Diginet GmbH & Co. KG - Industriestr.161 - 50999 Köln

Fon: +49 (2236) 886-0 - Fax: +49 (2236) 88 66 99
Sitz Köln, HRA 25531, Umsatzsteuer-ID: DE-209867661
Komplementärin: Diginet Management GmbH, Sitz Köln, HRB 69766  
Geschäftsführer: Daniel Attallah, Oliver Thomsen
------------------------------------------------------------------------------------------------------------
www.pixum.de  .at .be .ch .com .uk .dk .es .eu .fr .nl .no .pl ...

-- 

--- 
You received this message because you are subscribed to the Google Groups "Rack Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rack-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



[-- Attachment #2: Type: text/html, Size: 2661 bytes --]

             reply	other threads:[~2013-05-03 17:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-03 14:08 cwe [this message]
2013-05-06  7:25 ` Serving static files from directories whose name includes a dot kashyap k

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=31932b53-0035-4a4a-93c9-63438e36ac85@googlegroups.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).