Subject: Re: CGIs with Lisp
From: (Rob Warnock)
Date: 1998/01/29
Newsgroups: comp.lang.lisp
Message-ID: <6aore8$>

Philippe de Rochambeau  <> wrote:
| Has anyone ever created CGI scripts with Lisp?

Yes.  (...especially if you include Scheme in your definition of Lisp.)

| Is there any information on the Web on how to create CGIs with Lisp?

See for George Carrette's "SIOD", a
small-footprint Scheme which comes with with some examples of CGI scripting,
as well as some examples of using Scheme for writing standalone Web clients
(e.g., there's an "http-get.scm" and an "ftp-get.scm" in there, as well as
a stub Web server).  [Caveat: SIOD is not R4RS-compliant. But it's small
and fast-starting, which are good things for CGI programs...]

The paper also shows an interesting
way to do a variation of server-side includes that can work whether your
CGI application is written in Perl, Scheme, or C.

Also see: [CGI, NNTP, URLs, &c.]        [CGI in Scheme]          [code for Scheme CGI]                  [FastCGI in Scheme]


p.s. Not what you asked, but as for Web *servers* written in Common Lisp or
Scheme, see: [CL-HTTP] [SU-HTTP]

Rob Warnock, 7L-551
Silicon Graphics, Inc.		Phone: 650-933-1673 [New area code!]
2011 N. Shoreline Blvd.		FAX: 650-933-4392
Mountain View, CA  94043	PP-ASEL-IA