rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* Serving static files from directories whose name includes a dot
@ 2013-05-03 14:08 cwe
  2013-05-06  7:25 ` kashyap k
  0 siblings, 1 reply; 2+ messages in thread
From: cwe @ 2013-05-03 14:08 UTC (permalink / raw)
  To: rack-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Serving static files from directories whose name includes a dot
  2013-05-03 14:08 Serving static files from directories whose name includes a dot cwe
@ 2013-05-06  7:25 ` kashyap k
  0 siblings, 0 replies; 2+ messages in thread
From: kashyap k @ 2013-05-06  7:25 UTC (permalink / raw)
  To: rack-devel

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

Christoph,

Can you share some of of the failing code?


On Fri, May 3, 2013 at 7:38 PM, <cwe@pixum.com> wrote:

> 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.
>
>
>



-- 
Kashyap KMBC

-- 

--- 
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: 3756 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-06  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-03 14:08 Serving static files from directories whose name includes a dot cwe
2013-05-06  7:25 ` kashyap k

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/rack.git

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).