From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.140.128.1 with SMTP id a1cs75285rvd; Thu, 25 Mar 2010 18:31:08 -0700 (PDT) Received-SPF: pass (google.com: domain of 3Wg6sSwQQCmACPGANGVCJU8PCGLA.AMKP8AI-BCTCJEMMEJCEPMSNQ.AMK@groups.bounces.google.com designates 10.220.127.15 as permitted sender) client-ip=10.220.127.15; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 3Wg6sSwQQCmACPGANGVCJU8PCGLA.AMKP8AI-BCTCJEMMEJCEPMSNQ.AMK@groups.bounces.google.com designates 10.220.127.15 as permitted sender) smtp.mail=3Wg6sSwQQCmACPGANGVCJU8PCGLA.AMKP8AI-BCTCJEMMEJCEPMSNQ.AMK@groups.bounces.google.com; dkim=pass header.i=3Wg6sSwQQCmACPGANGVCJU8PCGLA.AMKP8AI-BCTCJEMMEJCEPMSNQ.AMK@groups.bounces.google.com Received: from mr.google.com ([10.220.127.15]) by 10.220.127.15 with SMTP id e15mr56543vcs.53.1269567067439 (num_hops = 1); Thu, 25 Mar 2010 18:31:07 -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:date :x-ip:user-agent:x-http-useragent: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; bh=DDYi9Vn/y0oszoiR/qM35xOZ9LBYDTlnx+yZ8vJw/IQ=; b=xhsJMzLGP7NG7uBJzMbGdCT7ObTO+Ds7nVB9ci6cEleg5K+HXYzKf8GV5awY/YbaLK N1hXLzuxuMGYy55+swH+VnseqPe1n1BL+BCYFtEQhNkmuXOD7/BvRpRMbIJkTYfXVd6f bIkJY0cfuebWkXbt/XlpS9bTgQ2iazwupOKZ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:date:x-ip:user-agent :x-http-useragent: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; b=itqQletvsQRjJ24mXYNvzEG3gfClPmVSiCRSDkrvp5ltRZpBQ1kBwQ+lyoGsk/Qerz FX6qIhqJgLjSY60dtq1aS/F9nIlNzmcjmqlnpHrEZ9+p+K2o+dclBoF7G51QnYO84O4n UsfNYAixgBSjcu33XM+KRJ59+kOaVCYxtl30s= Received: by 10.220.127.15 with SMTP id e15mr2629vcs.53.1269567066195; Thu, 25 Mar 2010 18:31:06 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.220.87.130 with SMTP id w2ls1675692vcl.4.p; Thu, 25 Mar 2010 18:31:05 -0700 (PDT) Received: by 10.220.65.156 with SMTP id j28mr57678vci.27.1269567064962; Thu, 25 Mar 2010 18:31:04 -0700 (PDT) Received: by 10.150.207.4 with SMTP id e4mr1106644ybg.29.1269563451521; Thu, 25 Mar 2010 17:30:51 -0700 (PDT) Received: by 10.150.207.4 with SMTP id e4mr1106643ybg.29.1269563451495; Thu, 25 Mar 2010 17:30:51 -0700 (PDT) Return-Path: Received: from mail-gx0-f186.google.com (mail-gx0-f186.google.com [209.85.217.186]) by gmr-mx.google.com with ESMTP id 19si3707yxe.3.2010.03.25.17.30.50; Thu, 25 Mar 2010 17:30:50 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.217.186 is neither permitted nor denied by domain of eric@pixelwareinc.com) client-ip=209.85.217.186; Received: by gxk2 with SMTP id 2so10603275gxk.0 for ; Thu, 25 Mar 2010 17:30:50 -0700 (PDT) MIME-Version: 1.0 Received: by z4g2000yqa.googlegroups.com with HTTP; Thu, 25 Mar 2010 17:30:50 -0700 (PDT) Date: Thu, 25 Mar 2010 17:30:50 -0700 (PDT) X-IP: 98.192.26.189 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.3 (KHTML, like Gecko) Chrome/5.0.356.2 Safari/533.3,gzip(gfe),gzip(gfe) Received: by 10.150.241.5 with SMTP id o5mr138012ybh.29.1269563450858; Thu, 25 Mar 2010 17:30:50 -0700 (PDT) Message-ID: <545fed2e-9c3a-42ca-8598-5113ba8a3f02@z4g2000yqa.googlegroups.com> Subject: Rack-Legacy: A rack handler for serving legacy CGI and PHP scripts From: Eric Anderson To: Rack Development X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.217.186 is neither permitted nor denied by domain of eric@pixelwareinc.com) smtp.mail=eric@pixelwareinc.com X-Original-Sender: eric@pixelwareinc.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: X-Thread-Url: http://groups.google.com/group/rack-devel/t/3843ec074bae8726 X-Message-Url: http://groups.google.com/group/rack-devel/msg/fd377915e772b703 Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 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 at http://wiki.github.com/eric1234/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+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.