Page 1 of 1

newLisp as a CGI server

Posted: Mon Jul 20, 2009 7:45 am
by 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:

Code: Select all

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

Are there any access restrictions (to directory tmp)?

Thank you!

Posted: Mon Jul 20, 2009 7:51 am
by ale870
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!