From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.239.138.72 with SMTP id o8cs4151hbo; Mon, 26 Apr 2010 13:29:12 -0700 (PDT) Received-SPF: pass (google.com: domain of rack-devel+bncCJTC9snpGRCF79feBBoEvBQqhQ@googlegroups.com designates 10.223.4.202 as permitted sender) client-ip=10.223.4.202; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCJTC9snpGRCF79feBBoEvBQqhQ@googlegroups.com designates 10.223.4.202 as permitted sender) smtp.mail=rack-devel+bncCJTC9snpGRCF79feBBoEvBQqhQ@googlegroups.com; dkim=pass header.i=rack-devel+bncCJTC9snpGRCF79feBBoEvBQqhQ@googlegroups.com Received: from mr.google.com ([10.223.4.202]) by 10.223.4.202 with SMTP id 10mr5738474fas.47.1272313751586 (num_hops = 1); Mon, 26 Apr 2010 13:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:received:received:message-id:from:to :in-reply-to:mime-version:subject:date:references:x-mailer :x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; bh=080m4tnrLsgKo11EGoNCHG8pUKOnLjKW6S8d6naPmgU=; b=etMwa8Gm/zADVv28axQDjmkTnGyyBgV9J+M/qtG+z6iLNV1mIPTlfPV4HFTMVoNI0f ZWQqVuxzT1G16Ckf77fZ5rirnkqM3bvn+8LpBR69b/EZ9V7/5UzXqbCdEr5ZxI6a+7aj cU9bkxPEbUHhUWgVonpAjRH95HG8ZzB+HxczU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:message-id:from:to:in-reply-to :mime-version:subject:date:references:x-mailer :x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; b=0NWzMGFZTr19DprHmhwPC2H9aGmZ3cLesN21lNb00SJiNyieD8cwQB4bmWLLv/0GBa F+9RCUnp0g35Fhno8FPkJxbT6X1QBPcchyqiZJZOAfESo62VBEeheWz3E7+1lsh2o4rT kyDombad8mFcuA70KhrO8aV6Nvluofs7l79cM= Received: by 10.223.4.202 with SMTP id 10mr1350227fas.47.1272313734119; Mon, 26 Apr 2010 13:28:54 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.216.24.105 with SMTP id w83ls10553225wew.1.p; Mon, 26 Apr 2010 13:28:52 -0700 (PDT) Received: by 10.216.86.203 with SMTP id w53mr417512wee.29.1272313732018; Mon, 26 Apr 2010 13:28:52 -0700 (PDT) Received: by 10.216.86.203 with SMTP id w53mr417511wee.29.1272313731976; Mon, 26 Apr 2010 13:28:51 -0700 (PDT) Return-Path: Received: from mail-pz0-f181.google.com (mail-pz0-f181.google.com [209.85.222.181]) by gmr-mx.google.com with ESMTP id n31si5480533wbc.0.2010.04.26.13.28.50; Mon, 26 Apr 2010 13:28:50 -0700 (PDT) Received-SPF: pass (google.com: domain of mateo.murphy@gmail.com designates 209.85.222.181 as permitted sender) client-ip=209.85.222.181; Received: by pzk11 with SMTP id 11so6229817pzk.28 for ; Mon, 26 Apr 2010 13:28:49 -0700 (PDT) Received: by 10.115.133.39 with SMTP id k39mr5240682wan.198.1272313729599; Mon, 26 Apr 2010 13:28:49 -0700 (PDT) Return-Path: Received: from [192.168.50.157] (modemcable056.108-22-96.mc.videotron.ca [96.22.108.56]) by mx.google.com with ESMTPS id 22sm3361961iwn.12.2010.04.26.13.28.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Apr 2010 13:28:48 -0700 (PDT) Message-Id: From: Mateo Murphy To: rack-devel@googlegroups.com In-Reply-To: Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Rack:Static with other middlewares Date: Mon, 26 Apr 2010 16:28:45 -0400 References: X-Mailer: Apple Mail (2.936) X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of mateo.murphy@gmail.com designates 209.85.222.181 as permitted sender) smtp.mail=mateo.murphy@gmail.com; dkim=pass (test mode) header.i=@gmail.com X-Original-Sender: mateo.murphy@gmail.com Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes On 21-Apr-10, at 6:56 PM, Matthew M. Boedicker wrote: > After more testing it looks like it was calling other middlewares > for Rack::Static served files, but not if they were in the public > directory. Passenger skips rack entirely for anything in public > (where rackup sends those requests through rack). Not sure if this > is the default Passenger behavior or something that my host has > configured. This is standard Passenger behavior, as in most cases this is exactly what you want -- Subscription settings: http://groups.google.com/group/rack-devel/subscribe?hl=en