newLisp as a CGI server

Started by ale870, July 20, 2009, 12:45:14 AM

Previous topic - Next topic

ale870

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!
--

ale870

#1
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!
--