The Exec CGI? option is especially important here!
Add the following line to make Apache execute your files ending with .lsp as CG Is? by adding:
AddHandler cgi-script .lsp
Now you need to create a public_html folder in your home directory
Place a simple lisp command line script in it. For example the file test.lsp
#!/usr/bin/clisp (print "Hello World. Here clisp goes online!")
Make sure it is marked as executable by going to your public_html folder and type
chmod 755 test.lsp
Now restart your apache2 by typing:
Afterwards use your browser and type in the following address (Where you of course replace richard with your username ; )
Et voilą, you can show the world you lisp programming skills now ;)
Attention: It is very important that - once you have set up such a system - you do not let anybody upload files either: to your home directory or with the extension .lsp. This would be an invitation for a breakin and/or a defacement of your server.