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.
sudo apxs -i -c mod_lisp.c
httpd.conf
:
LoadModule lisp_module libexec/httpd/mod_lisp.so AddModule mod_lisp.c LispServer 127.0.0.1 3000 "foo" <Location /foo> SetHandler lisp-handler </Location>
sudo apachectl restart
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With