From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5d375e920802251103q7e23cf3cvf1c640fe42ea0ecd@mail.gmail.com> Date: Mon, 25 Feb 2008 20:03:00 +0100 From: Uriel To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] plan9 httpd/pegasus on unix? In-Reply-To: <20080223212240.GB4284@gluon> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080223212240.GB4284@gluon> Topicbox-Message-UUID: 6166fd4a-ead3-11e9-9d60-3106f5b1d025 If you want to write web apps in rc, p9p is enough. http://gsoc.cat-v.org is built with rc based templates and the 'werc' framework (barely over a hundred lines of rc code). If you want to do things right I would use mjl's new httpd for Inferno. uriel On Sat, Feb 23, 2008 at 10:22 PM, wrote: > Hi all, > > I have a machine running FreeBSD that I want to set up as a web server > (among other things). It's not powered by plan9 because I also want to > run libtorrent/rtorrent on it, and afaik there's no bittorrent client > yet for plan9. > I used to run thttpd because I want something small, relatively secure, > and simple, but now I would like to set up something plan9-ish if > possible. One of the reasons being that I found Kenji's rc based cgi > thingie he showed at iwp9 quite nice, and I'd like to eventually use > that (especially since it would be a nice rc learning exercise for me > to port all my current perl cgis in rc.) > > So my question is what is my best option? > Setting up inferno on FreeBSD and run httpd from there? Setting up plan9 > in xen (or lguest) and set httpd inside that? Try to port plan9's httpd > to unix, using p9p as an example? Just stick to some unix httpd because > it's not worth it? (I guess it wouldn't be that hard to get thttpd to > run some rc cgis actually). > > Please bear in my mind that this is an old box (p200, 256MB ram), so the > solution has to be light (for example I'm not even sure it's possible to > achieve the xen or inferno one). Well, I guess it can't be worse than > apache2, which actually used to run on that machine... > > Thanks, > Mathieu. > > -- > GPG key on subkeys.pgp.net: > > KeyID: | Fingerprint: > 683DE5F3 | 4324 5818 39AA 9545 95C6 09AF B0A4 DFEA 683D E5F3 > -- >