From: Eric Anderson <eric@pixelwareinc.com>
To: Rack Development <rack-devel@googlegroups.com>
Subject: Rack-Legacy: A rack handler for serving legacy CGI and PHP scripts
Date: Thu, 25 Mar 2010 17:30:50 -0700 (PDT) [thread overview]
Message-ID: <545fed2e-9c3a-42ca-8598-5113ba8a3f02@z4g2000yqa.googlegroups.com> (raw)
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.
next reply other threads:[~2010-03-26 1:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 0:30 Eric Anderson [this message]
2010-03-29 22:17 ` Rack-Legacy: A rack handler for serving legacy CGI and PHP scripts Ross Fairbanks
2010-03-31 2:41 ` Mat Schaffer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://groups.google.com/group/rack-devel
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=545fed2e-9c3a-42ca-8598-5113ba8a3f02@z4g2000yqa.googlegroups.com \
--to=rack-devel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).