<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">When you use Perl, PHP, or C to serve pages, you're using CGI (or similar features in Apache).<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Apache receives HTTP requests, and starts up the Perl script to generate a page.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>It's possible to do something similar with Lisp; search for "mod_lisp".</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>However, most Lisp web applications get rid of Apache from this equation. The Lisp application handles the entire HTTP request; you don't tear down the application between requests any more than you restart Apache each time you serve a page.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Both Araneida and (Portable) AllegroServe provide complete web stacks; run Lisp, load them, start a server, and it'll start handling requests.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You can, if you wish, run your Lisp application behind Apache, but this is only really worthwhile if you wish to use Apache to serve other pages. There are other solutions, too; see <A href="http://apsis.ch/pound">http://apsis.ch/pound</A> and THTTPD.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Furthermore, if you want to do something PHP-like (i.e., a single page mixing HTML and code), try</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><<A href="http://www.google.com/search?q=lisp-server-pages">http://www.google.com/search?q=lisp-server-pages</A>></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-R</DIV><DIV><BR><DIV><DIV>On 5 Oct 2006, at 2:14 PM, Andre Camargo Fernandes wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV class="Section1"><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-US" style="font-size: 10.0pt;font-family:Arial">Hi,<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-US" style="font-size: 10.0pt;font-family:Arial">I am new to Lisp, I did read some Lisp books but none of those explained how to develop and serve LISP Web Pages. I´ve seen there´s the araneida project, but I am a lot lost yet. <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-US" style="font-size: 10.0pt;font-family:Arial">Is there a tutorial on developing web pages in lisp (I mean, for programmers of other languages, rather than for Lisp hackers)? I wanna try Lisp at my webpages and maybe at work too, I use PHP, perl and C/C++ right now, so I already know about web programming but I could not create a Lisp program, except when running inside Lisp environment (what was not bad, but not what I needed), so how could I create a Lisp Web page, compile it and run it in a server (Apache, for example). <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-US" style="font-size: 10.0pt;font-family:Arial">Actually I work with “Lisp in a box” with CLisp in windows. <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-US" style="font-size: 10.0pt;font-family:Arial">Is there a way to compile a lisp program to run outside the lisp environment?<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-US" style="font-size: 10.0pt;font-family:Arial"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-US" style="font-size: 10.0pt;font-family:Arial">Thanks in advance for any answer,<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-US" style="font-size: 10.0pt;font-family:Arial">Andre.<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-US" style="font-size: 10.0pt;font-family:Arial"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN lang="EN-US" style="font-size: 10.0pt;font-family:Arial">PS: I am sorry for my poor writing English, I hope it is not too bad.<O:P></O:P></SPAN></FONT></P> </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">lispweb mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:lispweb@red-bean.com">lispweb@red-bean.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.red-bean.com/mailman/listinfo/lispweb">http://www.red-bean.com/mailman/listinfo/lispweb</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>