newLisp as a CGI server

Q&A's, tips, howto's
Locked
ale870
Posts: 297
Joined: Mon Nov 26, 2007 8:01 pm
Location: Italy

newLisp as a CGI server

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

ale870
Posts: 297
Joined: Mon Nov 26, 2007 8:01 pm
Location: Italy

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

Locked