From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.192.141 with SMTP id dq13csp74589qcb; Sun, 18 Mar 2012 17:36:35 -0700 (PDT) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCP_V2_zRBRCP_5n7BBoEK4qdfA@googlegroups.com designates 10.50.159.229 as permitted sender) client-ip=10.50.159.229; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCP_V2_zRBRCP_5n7BBoEK4qdfA@googlegroups.com designates 10.50.159.229 as permitted sender) smtp.mail=rack-devel+bncCP_V2_zRBRCP_5n7BBoEK4qdfA@googlegroups.com; dkim=pass header.i=rack-devel+bncCP_V2_zRBRCP_5n7BBoEK4qdfA@googlegroups.com Received: from mr.google.com ([10.50.159.229]) by 10.50.159.229 with SMTP id xf5mr7201057igb.0.1332117394470 (num_hops = 1); Sun, 18 Mar 2012 17:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:from:mime-version:subject:date:in-reply-to :to:references:message-id:x-mailer:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=/GBThPYgygsgNXyir85rVszXDziTGh2/v33keKVr/xU=; b=no1aryfVHXz2s3EGk8hPjDd2HpDXyg2TcyQ46MBiTf06r1dzHvA0W1IQOGq6/YK1kC 3OTDy3bnZXCjrjWhMyvU8WQck1ODDLfmvjs3NoMlkZzT+kqNDIX+gT5Zq/TO2LgWE66K n3OxDNh0R1C765I7paOupaXQCYGmT7/PdzmyM= Received: by 10.50.159.229 with SMTP id xf5mr1581048igb.0.1332117391135; Sun, 18 Mar 2012 17:36:31 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.231.181.137 with SMTP id by9ls9104422ibb.8.gmail; Sun, 18 Mar 2012 17:36:30 -0700 (PDT) Received: by 10.50.77.130 with SMTP id s2mr3906768igw.1.1332117390202; Sun, 18 Mar 2012 17:36:30 -0700 (PDT) Received: by 10.50.77.130 with SMTP id s2mr3906765igw.1.1332117390169; Sun, 18 Mar 2012 17:36:30 -0700 (PDT) Received: from mail-iy0-f176.google.com (mail-iy0-f176.google.com [209.85.210.176]) by gmr-mx.google.com with ESMTPS id us5si1749488igc.0.2012.03.18.17.36.30 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 18 Mar 2012 17:36:30 -0700 (PDT) Received-SPF: pass (google.com: domain of jftucker@gmail.com designates 209.85.210.176 as permitted sender) client-ip=209.85.210.176; Received: by mail-iy0-f176.google.com with SMTP id w33so11646317iag.35 for ; Sun, 18 Mar 2012 17:36:30 -0700 (PDT) Received: by 10.60.3.9 with SMTP id 9mr11606764oey.49.1332117390056; Sun, 18 Mar 2012 17:36:30 -0700 (PDT) Received: from [192.168.5.151] ([64.134.227.140]) by mx.google.com with ESMTPS id d9sm11713168obq.0.2012.03.18.17.36.28 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 18 Mar 2012 17:36:29 -0700 (PDT) From: James Tucker Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: Correction to Rack::Sendfile documentation (X-Accel-Mapping) Date: Sun, 18 Mar 2012 17:36:25 -0700 In-Reply-To: <351894.8.1331705052859.JavaMail.geo-discussion-forums@pbqv9> To: rack-devel@googlegroups.com References: <351894.8.1331705052859.JavaMail.geo-discussion-forums@pbqv9> Message-Id: X-Mailer: Apple Mail (2.1257) X-Original-Sender: jftucker@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jftucker@gmail.com designates 209.85.210.176 as permitted sender) smtp.mail=jftucker@gmail.com; dkim=pass header.i=@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: X-Google-Group-Id: 486215384060 List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary="Apple-Mail=_44781932-610D-42BC-89AB-B2FABB58C711" --Apple-Mail=_44781932-610D-42BC-89AB-B2FABB58C711 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii https://github.com/rack/rack/pull/200 On Mar 13, 2012, at 11:04 PM, Carlos wrote: > Hi, >=20 > I believe there's a mistake in the Rack:Sendfile documentation @ = http://rack.rubyforge.org/doc/Rack/Sendfile.html >=20 > proxy_set_header X-Accel-Mapping /files/=3D/var/www/; > should be > proxy_set_header X-Accel-Mapping /var/www/=3D/files/; >=20 > Thanks, > Carlos --Apple-Mail=_44781932-610D-42BC-89AB-B2FABB58C711 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii https://github.com/rack/rack/pull/200

On Mar 13, 2012, at 11:04 PM, Carlos wrote:

Hi,

I believe there's a mistake in the Rack:Sendfile documentation @ http://rack.rubyforge.org/doc/Rack/Sendfile.html

proxy_set_header   X-Accel-Mapping     /files/=/var/www/;
should be
proxy_set_header   X-Accel-Mapping     /var/www/=/files/;

Thanks,
Carlos

--Apple-Mail=_44781932-610D-42BC-89AB-B2FABB58C711--