newLISP Fan Club

Forum => newLISP in the real world => Topic started by: joejoe on February 20, 2011, 12:53:19 PM

Title: newLISP + Cherokee Web Server
Post by: joejoe on February 20, 2011, 12:53:19 PM
Hi, is it possible to have nL serve pages through Cherokee Web Server?



http://www.cherokee-project.com/



If so, how do you allow them to work together?



Is it just creating nL .cgi files and calling them from the browser from the proper location?



Thanks much!
Title: Re: newLISP + Cherokee Web Server
Post by: PapoAnaya on May 13, 2011, 09:23:33 PM
Not that I am familiar with it, but it would entail configuring it to identify .lsp extensions as executables and make sure that all your cgi are have execution priviledges with a !# indicating the location of the interpreter. Perhaps as al alterntive would be to use new lisp as a surrogate server and invoke functions from the web server, that is more complicated though.  You can also code a module being that it is only one call to execute the interpreter.



It is up to you to determine how crazy you want to go.