newLISP Fan Club

Forum => newLISP in the real world => Topic started by: ale870 on July 20, 2009, 12:45:14 AM

Title: newLisp as a CGI server
Post by: ale870 on July 20, 2009, 12:45:14 AM
Hello,



I successfully used newLisp to make cgi applications using Apache 2 as server web.

Now I'm trying to use newLisp as web server self (Linux Mint 6).



I created "/tmp" directory, but, even if newLisp works, it does not process the cgi (simply return the script content in the browser, like a normal text file).



Where is the problem?

I start newLisp as follows:

newlisp -http -d 3000 -w /home/ale/www



Are there any access restrictions (to directory tmp)?



Thank you!
Title:
Post by: ale870 on July 20, 2009, 12:51:44 AM
Ok, sorry, I solved it.



I needed to call it with "cgi" extension (and not using "lsp").

More: the file, under linux, must be the flag "execute" set.



I think these information could be reported in the manual (or in the great "design pattern" book).



Thank you!