How to to configure apache + mod_lisp + clisp and set up a "Hello World!"? I couldn't find any complete howto on the subject. Thanks.
Edit: Vebjorn's solution works, but then I don't how to code the "hello world!". Can anyone tell me how to proceed? There's something like SWANKing the clisp, then connect to it with SLIME, but then when I launch mod_lisp's demo, the test page is not served and my slime doesn't return?
Thanks again.
- Download http://www.fractalconcept.com:8000/public/open-source/mod_lisp/mod_lisp.c
- Restart apache with
sudo apachectl restart
- Download example of Lisp-side handling in CLISP: http://www.fractalconcept.com/fcweb/download/modlisp-clisp.lisp
Start CLISP and evaluate:
(load "modlisp-clisp")
(modlisp:modlisp-server)
Point your browser to http://localhost/foo. You should see:
mod_lisp 2.0
This is a constant html string sent by
mod_lisp 2.0 + CLISP + apache + Linux
What backend are you using? If none, I would suggest trying Hunchentoot or, even better, UCW.
Both of those links will take you to the installation instructions, ending with a Hello World kind of page.
This article seems to be a fairly thorough "how-to" guide to set up Common Lisp on Apache using mod_lisp2.
If all has gone as planned, you should now have a Common Lisp app server running behind Apache