[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Using CGI/FastCGI with GNU smalltalk
From: |
Nicolas Petton |
Subject: |
Re: [Help-smalltalk] Using CGI/FastCGI with GNU smalltalk |
Date: |
Sun, 25 Apr 2010 14:40:28 +0200 |
Hi,
You can download a SCGI implementation for Swazoo from Github:
http://github.com/NicolasPetton/swazoo-scgi
After building the package, evaluate the following:
st> PackageLoader fileInPackage: 'Swazoo-SCGI'
st> site := Swazoo.SwazooSite newNamed: 'scgi-example'
st> site scgiPort: 4000
st> site addResource: (Swazoo.HelloWorldResource uriPattern: '/')
st> site start
You can now configure your favorite web server to handle SCGI on port
4000 :)
If you want to try it with Iliad, it is a bit different:
st> Iliad.ILSite default scgiPort: 4000
st> Iliad.ILSite default start
Same thing with Seaside (The swazoo site for Seaside is
"Seaside.SeasideSite default")
HTH,
Nico
signature.asc
Description: Ceci est une partie de message numériquement signée