From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.140.128.1 with SMTP id a1cs18265rvd; Tue, 30 Mar 2010 21:22:18 -0700 (PDT) Received-SPF: pass (google.com: domain of 3982ySwMLCsMvj21lqjoon0.vn0jlt-mn4nupxxpunp0x3y1.lxv@groups.bounces.google.com designates 10.224.8.78 as permitted sender) client-ip=10.224.8.78; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 3982ySwMLCsMvj21lqjoon0.vn0jlt-mn4nupxxpunp0x3y1.lxv@groups.bounces.google.com designates 10.224.8.78 as permitted sender) smtp.mail=3982ySwMLCsMvj21lqjoon0.vn0jlt-mn4nupxxpunp0x3y1.lxv@groups.bounces.google.com; dkim=pass header.i=3982ySwMLCsMvj21lqjoon0.vn0jlt-mn4nupxxpunp0x3y1.lxv@groups.bounces.google.com Received: from mr.google.com ([10.224.8.78]) by 10.224.8.78 with SMTP id g14mr59926qag.21.1270009336966 (num_hops = 1); Tue, 30 Mar 2010 21:22:16 -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:received-spf:received:mime-version:received :x-originating-ip:in-reply-to:references:date:received:message-id :subject:from:to:x-original-authentication-results:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:x-thread-url:x-message-url:sender:list-subscribe :list-unsubscribe:content-type:content-transfer-encoding; bh=KQN4wErjFNOd+et/2qlcnzg1ZVAmGn0niiFyJeSebqU=; b=mW46dNr0sdFSVuYBzfVk5yjzkErh3c7Ew1LaUFjmGqMyncc/qndbRQCgvM5l2Ql8Uy NcsuHQsnXLEg4ij/ShwhMg1552e7nAzdTNOfSNW4xYz64ASQQkouKFXXS2woZsr7dsGI 0s2X/5RFVVM0+Ou88X63gOXIqbXplZkR65iZQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:x-originating-ip:in-reply-to :references:date:message-id:subject:from:to :x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :x-thread-url:x-message-url:sender:list-subscribe:list-unsubscribe :content-type:content-transfer-encoding; b=TvymYZAJIponR6zgEPGo/lKasXQ/mqE8KdmjYiLgsuNkxHCI977Eo4+1BsbVNWlQpU HABRIA0Ay9IjP+Nbt/jVZtaarQoM+/b9icmTRf+YESd1JFA1pcAkWt6NZ/D8kKvoa73g A/Ny+4W04D/7k0S78tLw1A7fd+vrKRAfd+T00= Received: by 10.224.8.78 with SMTP id g14mr4033qag.21.1270009335495; Tue, 30 Mar 2010 21:22:15 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.224.72.35 with SMTP id k35ls49350qaj.2.p; Tue, 30 Mar 2010 21:22:13 -0700 (PDT) Received: by 10.224.73.30 with SMTP id o30mr222594qaj.11.1270009333599; Tue, 30 Mar 2010 21:22:13 -0700 (PDT) Received: by 10.224.79.209 with SMTP id q17mr821568qak.25.1270003293417; Tue, 30 Mar 2010 19:41:33 -0700 (PDT) Received: by 10.224.79.209 with SMTP id q17mr821567qak.25.1270003293395; Tue, 30 Mar 2010 19:41:33 -0700 (PDT) Return-Path: Received: from mail-vw0-f50.google.com (mail-vw0-f50.google.com [209.85.212.50]) by gmr-mx.google.com with ESMTP id 19si617095qyk.1.2010.03.30.19.41.33; Tue, 30 Mar 2010 19:41:33 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of mat@schaffer.me) client-ip=209.85.212.50; Received: by vws11 with SMTP id 11so310896vws.9 for ; Tue, 30 Mar 2010 19:41:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.91.142 with HTTP; Tue, 30 Mar 2010 19:41:32 -0700 (PDT) X-Originating-IP: [174.57.173.74] In-Reply-To: References: <545fed2e-9c3a-42ca-8598-5113ba8a3f02@z4g2000yqa.googlegroups.com> Date: Tue, 30 Mar 2010 22:41:32 -0400 Received: by 10.220.3.230 with SMTP id 38mr457172vco.52.1270003292745; Tue, 30 Mar 2010 19:41:32 -0700 (PDT) Message-ID: Subject: Re: Rack-Legacy: A rack handler for serving legacy CGI and PHP scripts From: Mat Schaffer To: rack-devel@googlegroups.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.212.50 is neither permitted nor denied by best guess record for domain of mat@schaffer.me) smtp.mail=mat@schaffer.me X-Original-Sender: mat@schaffer.me 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: X-Thread-Url: http://groups.google.com/group/rack-devel/t/3843ec074bae8726 X-Message-Url: http://groups.google.com/group/rack-devel/msg/cfa3a8e8ae78bb0f Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks! I'll have to give the CGI wrapper a try in place of the one I wrote awhile back (http://bit.ly/dnmApk). Looks like yours might win. -Mat On Mon, Mar 29, 2010 at 6:17 PM, Ross Fairbanks wrote: > Thanks Eric, this is really useful just giving it a try now. =A0The only > minor install issue I found is on Ubuntu you need to make sure you > install PHP from the php5-cgi package rather than the php5 package (as > it doesn't include the CGI handler). > > Ross > > > On Mar 26, 1:30=A0am, Eric Anderson wrote: >> Wanted to post a note about bit of code I have written which assists >> the development of apps that have some PHP/CGI code running alongside >> Ruby code. It help avoid having to setup and configure Apache (or >> whatever your preferred production stack is) just to do development on >> a mixed code app. It basically a simple handler that execs the CGI and >> puts the results back through rack. In the case of PHP it uses the php- >> cgi to do the dirty work. >> >> I have put some basic info and usage up athttp://wiki.github.com/eric123= 4/rack-legacy/. >> I welcome others to give a try. It should work under any Rack- >> compatible environment although I had to do some adjustments to get it >> to work under Rails 2.3.5 (Rails 3.x beta is untested). >> >> This is my first rack module so I welcome feedback. Hope it is as >> useful for others as it has been for me. >> >> Eric > > To unsubscribe from this group, send email to rack-devel+unsubscribegoogl= egroups.com or reply to this email with the words "REMOVE ME" as the subjec= t. >